Add-On For A Better Visual SourceSafe Diff Technique

Posted: January 5th, 2008 | Author: | Filed under: My Little Projects, Poping-out Thoughts | Tags: , , , | 1 Comment »

Have you ever felt lazy right before you check-out your file to see what has happened to the file since your last check-in? Because it requires a lot of clicks. If you want to make a diff between different version of files you must know the revision number at the time you last checked-in, therefore you have to open your SourceSafe client and find the file you want and open its history and make a diff between the last version and your last check-in. After a couple of tries to see what others did a specific file I decided to write this SourceSafe add-on. After it starts functioning, you just need click a "yes" button. Because it displays a message box and asks you if you want to see the difference between the file you last checked-in and last version of it, and when yes is clicked (or enter is pressed) it fires WinMerge tool (which is open source ) and shows your last check-in on the left side and the last version on the right side. (It doesn’t disturb you if you are the last check-in owner, or if you have never made check-in)

Download. Just extract files to your Visual SourceSafe installation path  (most of the time it is: "C:\Program Files\Microsoft Visual SourceSafe") and run InstallVSSEvents.reg file. Done!

To uninstall simply executing command "regasm VSSEvents.dll /unregister" and deleting the files you extracted is enough. (regasm command line tool comes with .NET 2.0 SDK)

diff_thumb


One Comment on “Add-On For A Better Visual SourceSafe Diff Technique”

  1. 1 soma-2387eg said at 2:37 am on December 3rd, 2009:


Leave a Reply