How can I check which branches a TFS 2008 changeset has been merged into?
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.
精彩评论