如何使用TFS检测文件修改?

发布于 2024-07-07 11:58:29 字数 187 浏览 6 评论 0原文

似乎当我使用工具(例如 winmerge)来更新我的代码库时...我的 Visual Studio Team System (VSTS) 与 Team Foundation Server (TFS) 集成似乎无法识别它。

我如何知道要签出并重新签入哪些文件? 我有什么遗漏的吗? 这是不是 VSTS 的一部分的功能吗? TFS?

It seems that when I use a tool (such as winmerge) to update my codebase... my Visual Studio Team System (VSTS) integration with Team Foundation Server (TFS) doesn't seem to pick it up.

How do I know which files to check out and check back in? Is there something I am missing? Is this a feature that isn't part of VSTS & TFS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

扭转时空 2024-07-14 11:58:29

首先,这可能是因为文件尚未检出。 如果您在运行更新之前先执行此操作,TFS 将看到这些更改。

其次,您可以使用 TFS Power Tools(可从 MS 获得)检查本地存储库中是否存在无法识别的更改。 如果发现差异,Power Toys 会重置文件的状态,以便“挂起的更改”窗口看到更改。 这不需要您签出文件,如果存在差异,它会为您执行此操作。

相当漂亮。

2008 年的 Power Tools 位于:http://www.microsoft .com/en-us/download/details.aspx?id=15836

并且您正在寻找“在线”命令:

“在线命令 - 使用在线命令对没有权限的可写文件创建挂起的编辑待编辑。”

First, this is probably because the files have not yet been checked out. If you do that first before running your update, TFS will see those changes.

Second, you can use TFS Power Tools (available from MS) to review local repository for changes that are not recognized. If there are found differences, power toys resets the status of the file so Pending Changes window sees the change. this does not require you to check-out the files, it will do that for you if there are differences.

Pretty nifty.

Power Tools for 2008 is here: http://www.microsoft.com/en-us/download/details.aspx?id=15836

and you are looking for the "Online" command:

"Online Command - Use the online command to create pending edits on writable files that do not have pending edits."

情仇皆在手 2024-07-14 11:58:29

我假设您正在 VS 之外的整个项目中应用更改。
您必须首先签出整个项目,然后应用更改并重新签入。据我所知,未修改的文件将不会被实际签入。

I assume you are applying changes across an entire project, outside of VS.
You will have to check-out the complete project first, then apply the changes and check back in. Unmodified files will not be actually checked-in, AFAIK.

煮茶煮酒煮时光 2024-07-14 11:58:29

您的问题听起来好像您尚未安装 Team Foundation Server 客户端。

如果您已安装 Visual Studio Team System 版本,则可以连接 Team Foundation Server。 但要使集成正常工作,您还需要安装 Team Foundation Server 客户端。

完成此操作后,您的 Visual Studio 应该会在文件发生更改时通知您,然后自动检出文件。

Your question sound like as if you have not installed the Team Foundation Server Client.

If you have installed the Visual Studio Team System edition you are able to connect with the Team Foundation Server. But to have the integration working you need to install the Team Foundation Server Client as well.

After having done this your Visual Studio should inform you in case of file changes and then automatically check out the files.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文