C#程序确定本地工作空间的最后一个changesetid [英] C# program to determine the last changesetid of local workspace

查看:75
本文介绍了C#程序确定本地工作空间的最后一个changesetid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题与TFS中可用的最后一个变更集ID有关,我的查询是,我们的tfs集合有多个分支。我为每个分支创建一个工作空间并构建它们。



现在我的问题是:我想知道我构建解决方案的工作区的最后一个本地变更集ID。



例如,我在2天前建立MAIN分支,现在我想知道在我从服务器获取最新信息之前在本地可用的最后一个本地

changesetid。我使用了History命令,但是它给了服务器changesetID而不是本地变更集ID。请帮我解决这个问题。



这是我对VScommandprompt的论据。



历史$ / MAIN / collection:tfscollection / workspace:xxxx / format:详细/递归/停止:1



谢谢和最好的问候,

vidya。



注意:还请让我知道是否可以找到本地工作区版本?如果没有,请提供原因。

Hi, this question is related to the last change set id available in TFS, my query is , our tfs collection has multiple branches.I create a work space for each branch and build them.

Now my question is: i wanted to know the last local changeset id of the workspace with which i builded the solution.

For example, i build MAIN branch 2 days back, now i wanted to know the last local
changesetid that is available locally before i do get latest from server. I used History command but some how it is giving the server changesetID not the local changeset id. Please help me in solving the problem.

here is my arguments for the VScommandprompt.

tf history $/MAIN /collection:tfscollection /workspace:xxxx /format:Detailed /recursive /stopafter:1

thanks and best regards,
vidya.

Note: please also let me know will it be possible to find the local workspace version?? if not please provide the reason.

推荐答案

/ MAIN / collection:tfscollection / workspace:xxxx / format:详细/递归/停止:1



感谢和最好的问候,

vidya。



注意:还请让我知道它会不会有可能找到本地工作区版本??如果没有请提供理由。
/MAIN /collection:tfscollection /workspace:xxxx /format:Detailed /recursive /stopafter:1

thanks and best regards,
vidya.

Note: please also let me know will it be possible to find the local workspace version?? if not please provide the reason.


这篇关于C#程序确定本地工作空间的最后一个changesetid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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