开发者

How can I check which branches a TFS 2008 changeset has been merged into?

开发者 https://www.devze.com 2022-12-27 22:43 出处:网络
I have some changesets in a TFS 2008 branch which were not merged back into trunk. Time has passed, and now no-one is entirely sure which changesets have made it into trunk. I understand that TFS 2010

I have some changesets in a TFS 2008 branch which were not merged back into trunk. Time has passed, and now no-one is entirely sure which changesets have made it into trunk. I understand that TFS 2010 allows you to see graphically which branches a changeset has bee开发者_StackOverflown merged to, but how can I find this out in TFS 2008?


I think all you can you do is use the TF merge command to determine which changesets have not been merged into another branch - one branch at a time.

tf merge /recursive /format:brief /candidate $/Branch1 $/Branch2 /preview

will show you what changessets from branch1 are candidates to be merged into branch 2. Of course you can put this into a script to run multiple times.

0

精彩评论

暂无评论...
验证码 换一张
取 消