您如何看待 TFS 中某个版本的更改? [英] How do you see the changes for a version in TFS?

查看:22
本文介绍了您如何看待 TFS 中某个版本的更改?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从 VSS 迁移到 TFS,我需要能够显示在两个版本之间签入了哪些文件.在 VSS 中,我们只需标记发布代码并查看标签之间的历史记录并生成报告以显示签入和评论.有没有办法用 TFS 获得类似的结果?或者显示两个变更集或标签之间的差异?

I'm trying to migrate to TFS from VSS and I need to be able to show what files were checked in between two releases. In VSS we would just label the code for a release and view history between labels and generate a report to show the checkins and the comments. Is there a way to get similar results with TFS? Or show the differences between two changesets or labels?

推荐答案

命令行工具 tf.exe 为您提供了比 GUI 更多的选项(并且可以在对话中或作为标准提供结果输出 --- 有利于进一步加工).

The command line tool tf.exe gives you more options than the GUI (and can either give results in a Dialogue or as standard output --- good for feeding into further processing).

例如

tf hist . -r /version:C10~C1000

将在变更集 10 和 1000 之间递归列出影响此文件夹和内容的所有变更集.

will list all the changesets affecting this folder and content recursively between changesets 10 and 1000.

请参阅 MSDN 上的文档.

如果您需要最大的灵活性,您可以使用 TFS 客户端程序集创建您自己的命令.不幸的是,文档有点稀疏.

If you need maximum flexibility, you can create your own commands using the TFS client assemblies. Unfortunately documentation is somewhat sparse.

这篇关于您如何看待 TFS 中某个版本的更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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