我在使用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:
Compare with workspace version Compare with latest versionWhat is the difference ?
最满意答案
与最新版本比较似乎很清楚。 它将文件与TFS中的最新版本进行比较。 所以你会得到最新的版本之间的所有差异检查源代码控制和你要比较的文件夹。
与Workspace版本进行比较可能会令人困惑,但实际上很简单。 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.
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.
更多推荐
发布评论