我可以查看带有标签的 TFS 文件历史记录吗? [英] Can I see TFS file history with labels?

查看:29
本文介绍了我可以查看带有标签的 TFS 文件历史记录吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前在工作中同时使用 Visual Source Safe 和 Team Foundation Server(VSS 用于旧项目,TFS 用于当前或新项目).

We currently are using both Visual Source Safe and Team Foundation Server at work (VSS for old projects, TFS for current or new projects).

我们总是在每次构建的源代码控制中使用标签.在 VSS 中,如果您选择查看文件历史记录,您可以包含标签.在 TFS 中,我找不到将标签包含在历史窗口中的选项.

We have always used Labels in source control for each build. In VSS if you chose to see a file history you could include labels. In TFS I cannot find an option to include the lables in the history window.

由于支持人员或管理层向我提出的最常见问题之一是我们修复/添加/删除/更改 xxxx 的版本是什么?",我一直依赖历史记录中显示的构建标签.

Since one of the most common questions that I get asked by support or management is 'What version did we fix/add/remove/change xxxx?', I have always relied on our build labels showing up in the history.

我可以让标签显示在文件历史记录中吗?

Can I get Labels to show up in a file history?

推荐答案

在 2008 版的 TFS 中,您不会在文件和文件夹的标准历史记录中看到标签.如果您真的想知道原因 - 请参阅 Brian Harry 的博客文章WhyTFS 标签不像 VSS 标签".

In the 2008 version of TFS, you don't see labels in the standard history of files and folders. If you really want to know why - see Brian Harry's blog post "Why TFS Labels are not like VSS Labels".

要在 Visual Studio 中查找标签,请转到文件"、源代码管理"、标签"、查找标签...",从中您可以看到该标签中包含的文件版本.

To find labels in Visual Studio, go to File, Source Control, Label, Find Label... From that you can see what versions of files were included in that label.

团队肯定听说这并不理想,下一个版本的 TFS(Team Foundation Server 2010,代号为Rosario")将包括对历史视图的改进,以使标签更容易找到 - 请参阅 http://go.microsoft.com/?linkid=7807943 中的历史视图改进规范TFS 2010.

The team have definitely heard that this is not ideal, and the next version of TFS (Team Foundation Server 2010, codenamed "Rosario") will include improvements to the History view to make labels easier to find - see http://go.microsoft.com/?linkid=7807943 for the spec of improvements to the History view in TFS 2010.

顺便说一句-实际上,我使用 TFS 转移到基于变更集的构建编号,这使得标记的必要性降低.有关详细信息,请参阅 http://www.woodwardweb.com/vsts/changeset_based.html.

BTW - I actually moved to changeset based build numbering with TFS which makes labelling less necessary. See http://www.woodwardweb.com/vsts/changeset_based.html for more details.

希望对你有帮助,

马丁.

这篇关于我可以查看带有标签的 TFS 文件历史记录吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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