4

When I Get Latest Version I often want to see what files have changed (and the diff). How do I achieve this with the least amount of IDE navigation?

dalle
  • 18,057
  • 5
  • 57
  • 81
Arne Evertsson
  • 19,693
  • 20
  • 69
  • 84
  • Possible duplicate of [Is there a 'Get Latest Version' preview in TFS? (Like VSS 'Get' command)](http://stackoverflow.com/questions/4657249/is-there-a-get-latest-version-preview-in-tfs-like-vss-get-command) – Jan Hudec Aug 11 '16 at 07:06
  • You can vote for the feature at [Visual Studio Uservoice](https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/5630060-hook-into-on-get-latest-to-encourage-code-awarenes). – Louis Somers Apr 20 '17 at 12:38

2 Answers2

4

Best thing to do is a folder comparison before you get the latest version. In Source Control Explorer, you can compare the differences between two server folders, two local folders, or a server folder and a local folder. Right click on the target folder and select Compare. Read more here.

dalle
  • 18,057
  • 5
  • 57
  • 81
  • You can do that after the Get as well, in which case you need to know which version you had before (or when your last Get Latest was). You can give that version/date as version to compare your local files with. – SvenS Sep 03 '13 at 09:08
  • 1
    That is proably 20 mouse clicks or more. There has got to be a better way. I just want to see the Changeset Details (keyboard shortcut) and then showing the diff (another keyboard shortcut). – Arne Evertsson Sep 03 '13 at 12:21
  • @ArneEvertsson: I have asked for the same feature as you, but this is the best answer I've got. – dalle Sep 03 '13 at 16:11
2

This is only a solution to part of your question "what files have changed".

Once you GetLatest, go to View -> output window or (CTRL + W,O). This will show you the list of files that was replaced in the last GetLatest operation. Once you have the list of files you can do file comparison on each file to get the changes.

Isaiah4110
  • 9,855
  • 1
  • 40
  • 56