是否有“获取最新版本”?在 TFS 中预览? (如VSS“Get”命令)
我的问题与 Team Foundation Server (TFS) 有关,具体来说,在执行“获取最新版本(递归)”之前,有没有办法知道服务器上的哪些文件已更改?
在 Visual Source Safe (VSS) 中,您可以执行“获取”(我认为),它向您显示正在考虑更新的所有文件以及我们在服务器上更改的文件(因此将在更新期间更新)得到)。这个功能好像完全没有了!
另外,当我在 TFS 中执行“获取最新版本”时,除了进度条暂时模糊之外,似乎没有任何通知表明发生了任何事情。我本来希望最后会收到一条通知,表明没有要进行的更新,或者 n 个文件已更新。相反,我必须在 Visual Studio 中查找 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)?
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!
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?
Thanks a lot in advance!
Andy.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
感谢这个问题/答案,我已经愉快地使用 tf get /recursive /preview 大约一年了。
但事实证明,至少在 2010 年及以后,有类似的东西集成到 Visual Studio 中。
转到:
您可以很好地预览预览的潜在更改,然后右键单击各个文件并进行比较以准确查看您将获得的内容。
我很高兴今天一位同事向我展示了这个!
Thanks to this question/answer, I have happily been using
tf get /recursive /preview
for about a year now.But it turns out that there is something like this integrated into Visual Studio, at least 2010 and later.
Go to:
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!
Visual Studio 中没有内置选项,但 TFS 命令行上有
/preview
选项。有关所有命令行选项的更多信息,请参见 Get 命令的 MSDN 页面TFS 命令您需要的是:
在 Visual Studio 中的外部工具上进行设置。
确保“使用输出窗口”已启用,而“提示输入参数”未启用。
There's not one built in to Visual Studio, but there is the
/preview
option on the TFS command line. There's more information on all the command line options on the MSDN page for the Get CommandThe TFS command you need is:
Set this up on an External Tool in Visual Studio.
Make sure that "Use Output window" is enabled and "Prompt for arguments" isn't.