TFS Power tools Migrate doesn't actually migrate

638 Views Asked by At

I would like to migrate a shelveset from one branch to another. Here is my command:

tfpt unshelve MigrateShelf /migrate /source:"$/Code/OldBranch/Source" /target:"$/Code/NewBranch/Source"

When I execute it, I the window pops up, but it is still unshelving into OldBranch.

I see this question

tfpt migrate for TFS doesn't do anything

and it looks like he has the same question, but he accepted an answer, then complained that it didn't solve his issue?

1

There are 1 best solutions below

3
On

I also had the same problem.

After investigating, the command, I come to conclusion that the command is correct, it only the issue in the path_name. there must be some typo error in command.

When the path is incorrect, its unshelving the changes in the same branch.

Command: tfpt unshelve /migrate "shelve_name";user_name /source:"$/Sourcepath" /target:"$/targetpath" /nobackup

Thanks, Raj