Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between "With UnModified Version" & "With Workspace version"

In TFS I'm performing the following action.

UnShelve Pending Changes--> right click a file in a ShelveSet --> select Compare --> There are three choices:

  1. With Unmodified Version
  2. With Work-space version
  3. With Latest version

What is the difference between 1 and 2 ?

like image 914
harish Avatar asked Dec 19 '13 14:12

harish


Video Answer


1 Answers

Basically, the options are broken down as follows :

  • With Unmodified Version - The Shelve File will compare the files with any pending changes to the corresponding files prior to the shelve being created.

  • With Work-Space Version - Typically this will compare your current code running on your machine to the code at the time that you checked out the file. Basically allowing you to see what changes you have made in the current checkout.

  • With Latest Version - Compares your code to the most recent code that has been checked into TFS.

So the difference between the first and second options would be that with the Unmodified choice, you would be comparing with any changes that occurred prior to the shelve being created and your work-space choice would display the changes that you had made in the current checkout.

like image 53
Rion Williams Avatar answered Sep 23 '22 20:09

Rion Williams