TFS中是否有“获取最新版本"预览? (就像VSS的“获取"命令一样) [英] Is there a 'Get Latest Version' preview in TFS? (Like VSS 'Get' command)

查看:125
本文介绍了TFS中是否有“获取最新版本"预览? (就像VSS的“获取"命令一样)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题与Team Foundation Server(TFS)有关,具体地说,在执行获取最新版本(递归)"之前,有什么方法可以知道服务器上哪些文件已更改?

My question relates to Team Foundation Server (TFS) and specifically, is there any way to know which files have changed on the server before doing a 'Get Latest Version (Recursive)?

在Visual Source Safe(VSS)中,您可以执行获取"(我认为),该操作向您显示了正在考虑进行更新的所有文件以及我们在服务器上更改了哪些文件(因此,在获取过程中更新).该功能似乎完全消失了!

In Visual Source Safe (VSS), you could do a 'Get' (I think) which showed you all the files which were being considered for the update and which files we're changed on the server (an consequently would be updated during the get). This functionality seems to be completely missing!

此外,当我在TFS中执行获取最新版本"时,似乎似乎没有任何通知发生任何事情,除了进度条的模糊.我本来希望在最后收到通知,说没有要进行的更新,或者 n 个文件已更新.相反,我必须在Visual Studio中搜寻TFS输出,以了解发生了什么.是这样吗?

Also, when I do a 'Get Latest Version' in TFS, there doesn't seem to be any notification that any things occurred, other than the blur of a progress bar momentarily. I would have expected a notification at the end that there were no updates to be made, or n files were updated. Instead I have to hunt in the TFS output in Visual Studio to see what happened. Is this right?

非常感谢!

安迪.

推荐答案

由于这个问题/答案,我很高兴现在已经使用tf get /recursive /preview大约一年了.

Thanks to this question/answer, I have happily been using tf get /recursive /preview for about a year now.

但是事实证明,至少在2010年及以后, 这样的东西已集成到Visual Studio中.

But it turns out that there is something like this integrated into Visual Studio, at least 2010 and later.

转到:

  • 查看菜单,其他Windows,源代码管理资源管理器
  • 导航到您感兴趣的路径,右键单击并选择比较"
  • 将目标路径"设置为等效的本地路径
  • 您可能要取消选中显示仅在目标路径中存在的项目"
  • 确定

您可以很好地预览所预览的潜在更改,然后右键单击单个文件并进行比较"以准确查看要获取的内容.

You get a nice view of the potential changes previewed, and you right-click on individual files and do a Compare to see exactly what you're going to get.

我很高兴今天有一个同事给我看这个!

I'm so glad a colleague showed me this today!

这篇关于TFS中是否有“获取最新版本"预览? (就像VSS的“获取"命令一样)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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