Welcome to MSDN Blogs Sign in | Join | Help

How to: Port a specific changeset?

Merge enables you to specify a range of versions to merge over. This means that you can merge a range of versions without the need to merge previous versions. For example, if file foo is at version 10 in the source branch and is at version 6 in the target branch. If you want to port changeset 9 only without porting all the changes up to that version (i.e. you don’t want to port 7 and 8 along), you can specify that in the version range:

tf merge /version:C9~C9 $/proj/source/foo $/proj/target/foo

On a side note, when you append the ;C123 to an item spec while merging, this means that merge will be scoped to only the items that were changed in C123.

Published Saturday, February 28, 2009 11:00 PM 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

No Comments

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker