Mohamed Mahmoud (El-Geish)



Add to Windows Live Alerts

How to: Move a shelveset to another branch?

A very handy power tool is tfpt unshelve. It’s capable of migrating a shelveset from a branch to another, it does that by performing a baseless merge, so you will need to resolve the conflicts produced. The syntax of the command looks like the following:

tfpt unshelve shelvsetName /migrate /source:$/SourceBranch /target:$/TargetBranch

Published Thursday, April 30, 2009 12:46 AM by mohamedg
Filed under: , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

How to: Move a shelveset to another branch? | ASP NET Hosting said:

April 30, 2009 1:20 AM
 

Team System News said:

Michael Ruminer on Here's The Deal When Your Code Compiles But At Runtime It Can't Find Some

April 30, 2009 9:31 AM
 

Murthy Meka said:

Can you please give the options to unshelve from one workspace to another.

May 27, 2009 1:42 AM
 

mohamedg said:

Murthay,

Actually, the main motivation for shelve is to share changes between workspaces. You can shelve the changes in workspace A and unshelve them in workspace B.

May 27, 2009 11:51 AM
 

Patrick Finnigan said:

tfpt /unshelve /migrate is a great feature.  However, during conflict resolution, I need to select "Resolve..." then "Migrate the Shelved Content" for every single item in my shelveset.  I see no way of migrating all shelved changes at once!  This becomes annoying when I am moving a shelveset of multiple files between branches.

Is there a way to migrate all shelved changes at once without this manual conflict resolution?  If not, will the next release of TFPT allow one to migrate all shelved changes in batch so I don't have to click and migrate each file?

Thanks,

-Pat

October 14, 2009 3:40 PM
 

mohamedg said:

Unfortunately there's no way to do so AFAIK. I'm not sure about the next version of TFPT but I can connect you with the TFS team if you send me an email via: http://blogs.msdn.com/mohamedg/contact.aspx

Thanks,

Mohamed

October 21, 2009 5:15 PM

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker