问题
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:
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
来源:https://stackoverflow.com/questions/8055045/tfs-power-tools-migrate-doesnt-actually-migrate