TFS: Configuring Get Latest Files Option
Reading through the TFS book I am busy reviewing, I noticed two checkboxes which I am often asked for, namely to "Get Latest" and "Show Deleted Files".
With TFS2005 the notion of Get Latest introduced great confusion, because instead of actually determining which version is the latest and downloading this version to the requesting client, TFS2005 made the file in your workspace editable, i.e. it assumed it is the latest "to you". This means that even though there may be a version 3 centuries later than yours, it was not downloaded to your workspace during a checkout. With TFS2008 this is also the default behaviour ...
The options you can pursue if you want to change the default behaviour:
- In both TFS2005 and TFS2008 use the context menu options "Get Latest Version" or "Get Specific Version".
- Configure the Team Project Source Control Settings "Enable get latest on check-out".
- Configure the VSTS Source Control Options "Get latest version of item on check out".
Option 1 - Example:
Option 2 - Example:
Option 3 - Example:
Also note the "Show deleted items in the Source Control Explorer" option under option 3 ... that answers the other frequent question, namely "how can I convince Source Control Explorer" to show deleted files?