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

烈酒焚心 提交于 2019-12-06 04:12:57

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/2687789/how-can-i-check-which-branches-a-tfs-2008-changeset-has-been-merged-into

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!