如何检查 TFS 2008 变更集已合并到哪些分支? [英] How can I check which branches a TFS 2008 changeset has been merged into?

查看:33
本文介绍了如何检查 TFS 2008 变更集已合并到哪些分支?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 TFS 2008 分支中有一些未合并回主干的变更集.时间过去了,现在没有人完全确定哪些变更集已将其放入主干.我知道 TFS 2010 允许您以图形方式查看变更集已合并到哪些分支,但我如何在 TFS 2008 中找到这一点?

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?

推荐答案

我认为你所能做的就是使用 TF 合并命令 确定哪些变更集尚未合并到另一个分支 - 一次一个分支.

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

将向您展示来自 branch1 的哪些变更集是合并到分支 2 的候选对象.当然,您可以将其放入脚本中多次运行.

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.

这篇关于如何检查 TFS 2008 变更集已合并到哪些分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆