如何从 Visual Studio 中打开 TFS 中的单个变更集 [英] How can I open a single changeset in TFS from within Visual Studio

查看:23
本文介绍了如何从 Visual Studio 中打开 TFS 中的单个变更集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人通过电子邮件向我发送了一个 TFS 变更集 ID,现在我正在尝试打开这个单一变更集.在 Visual Studio 中执行此操作是否容易(如果重要,请使用 VS 2008)?

Someone emailed me a TFS changeset ID and now I am trying to open this single changeset. Is there an easy was to do this from within Visual Studio (VS 2008 if it matters)?

推荐答案

在源代码管理资源管理器中(查看 -> 其他 Windows -> 源代码管理资源管理器):

In the Source Control Explorer (View -> Other Windows -> Source Control Explorer):

  1. 右键单击要抓取的文件夹
  2. 点击获取特定版本
  3. 将下拉菜单从最新版本"更改为变更集"
  4. 通过浏览 (...) 按钮找到您的变更集.
  5. 更改为搜索变更集编号

只需选择结果并点击确定即可.

Just select the result and hit ok.

或者,如果您想查看该变更集中的更改...

Alternatively, if you want to see what changes were in that changeset...

  1. 转到相同的源代码管理资源管理器
  2. 点击历史按钮(看起来像一个时钟)
  3. 向下滚动出现的变更集列表,双击您想要的变更集.
  1. Go to the same Source Control Explorer
  2. Click the History button (looks like a clock)
  3. Scroll down the changeset list that appears, double click the one you want.

这将列出该变更集中更改的文件以及开发人员放置的注释.

This will list the files changed in that changeset as well as notes the developer put.

这篇关于如何从 Visual Studio 中打开 TFS 中的单个变更集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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