“比较工作区版本"与“比较工作区版本"之间有什么区别?和“与最新版本比较"? [英] What is the difference between "Compare with Workspace version" and "Compare with Latest version"?

查看:200
本文介绍了“比较工作区版本"与“比较工作区版本"之间有什么区别?和“与最新版本比较"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Visual Studio 2012与TFS一起使用. 每当我想比较已签出的文件时,都有两个选项可供选择:

I am using Visual Studio 2012 with TFS. Whenever I want to compare my checked out files, I have two options to choose from:

  1. 与工作空间版本比较
  2. 与最新版本比较

有什么区别?

推荐答案

与最新版本比较 似乎很清楚.它将文件与TFS中的最新版本进行比较.因此,您将获得签入源代码管理的最新版本与要比较的哪个文件夹之间的所有差异.

Compare with Latest version seems clear. It compares files against the latest version in TFS. So you'll get all the differences between the very latest version checked into source control and whichever folder you're comparing against.

与Workspace版本比较 可能会令人困惑,但实际上非常简单. TFS跟踪您已检索到工作空间中的文件的版本.这通常是最新版本,或者非常接近,但是不一定是.

Compare with Workspace version might be confusing, but is actually pretty simple. TFS keeps track of the version of the file which you've retrieved into your workspace. This is usually the latest version, or pretty close to that, but that doesn't have to be the case.

使用获取特定版本选项时,您可以将文件的任何版本检索到本地工作空间.您甚至可以将不同版本的文件检索到您的工作区中.选择此选项后,将与工作空间中当前的版本进行比较.

When using the Get Specific Version option you can retrieve any version of a file to your local workspace. You can even retrieve files from different versions into your workspace. When you select this option, a comparison will be done against the version that is currently in your workspace.

这篇关于“比较工作区版本"与“比较工作区版本"之间有什么区别?和“与最新版本比较"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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