TFS merges详细信息查看

本文通过一个具体的例子展示了如何使用 TFMerge 命令进行代码合并操作。包括详细和简要两种格式的输出结果,帮助理解合并过程中涉及的变更集、文件路径及作者等信息。
C:\Documents and Settings\Administrator\My Documents\Visual Studio 2010\Projects\test1>tf merges "$/project study/Hotel/Mainline/Source" /login:username,password /format:detailed /recursive
已合并的项:
$/project study/Hotel/Releases/2012-08-8/bug2/ComponentA/ErrorUtil.cs;C38 -> $/project study/Hotel/Mainline/Source/ComponentA/ErrorUtil.cs;C39
$/project study/Hotel/Development/Team1/ProjectB/ComponentA/Filter.cs;C27~29 ->$/project study/Hotel/Mainline/Source/ComponentA/Filter.cs;C31
$/project study/Hotel/Development/Team1/ProjectB/ComponentA/FrontControlUtility.cs;C30 -> $/project study/Hotel/Mainline/Source/ComponentA/FrontControlUtility.c

s;C31

此处"$/project study/Hotel/Mainline/Source" 为目标分支,会列出合并到此目标分支上的所有变更历史文件。


下面的列出变更集到变更集

C:\Documents and Settings\Administrator\My Documents\Visual Studio 2010\Projects\test1>tf merges "$/project study/Hotel/Mainline/Source" /login:username,password /format:brief /recursive
变更集    合并在变更集中 作者                             日期
--------- -------------- -------------------------------- ----------
      38              39 Administrator                    2012-8-5
      27              31 Administrator                    2012-8-5
      29              31 Administrator                    2012-8-5
      30              31 Administrator                    2012-8-5

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值