Comparing checked out files with other Team Foundation Server versions
Have you ever applied another team member’s TFS shelveset and later wanted to compare one of the changed files to another version? Have you ever wanted to review exactly what you changed in a file you modified? Since each file in a shelveset will also be checked out, the process is the same for either case. To see the changes in a particular checked out file:
1. right click the file name in the Solution Explorer
2. Click Compare option. This will bring up the Compare dialog box. You can compare the file to the latest version on the server (the default) or chose a different version by date, label, or changeset. I normally use the latest version but have occasionally used the date option.
3. Click OK in the Compare dialog box. A difference window will be displayed which shows you the changes and allows you to navigate through them with arrow buttons.
Comments
Anonymous comments are disabled
About John D'Addamio
I am a Software Design Engineer in Test (SDET) on the Developer Aftermarket Solutions team at Microsoft Corporation. Basically, an SDET is a programmer who specializes in testing other people’s software and/or writing software that is used for testing. I joined Microsoft in 2003 and the Solutions team in 2005. Prior to joining Microsoft, I was a developer and developer lead writing real time software; mostly air traffic control systems. The fun thing about testing is that people are happy when you find a way to break things!
I like to balance my high tech work life with low tech activities. So, outside of work, you will probably find me on the back of a horse, doing the maintenance that horses require, or reading a book.