简体   繁体   中英

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 been 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM