TFS Power Tools Migrate en realidad no migra

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.

Veo esta pregunta

tfpt migrate for TFS no hace nada

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

preguntado el 08 de noviembre de 11 a las 18:11

So, I have discovered that the branch that the shelf is originally from has been deleted, but I don't think that is causing this issue. -

If I try to continue with the migration anyway, I get messages saying "newer version exists in source control", but I think that that is related to the fact that the branch has been deleted. -

1 Respuestas

También tuve el mismo problema.

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

Gracias, Raj

Respondido el 27 de enero de 14 a las 13:01

Well seeing as how this was a year and a half ago, I no longer have access to that source any longer, but I'm pretty sure I double checked the target path. Is that what you meant by path_name? - McKay

yes, I had also the same problem, and finalyy seen that the path_name is incorrect(have some extra spacing issue). Above command works fine for me after deleting the extra space. - user1173233

As another follow-up, to get your actual branch path, right-click the branch in the Source Explorer -> Advanced -> Properties. Once I did that it worked. - KnowHowSoluciones

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.