I faced lot of trouble when i do difference between two versions in VSS, it is not specifying what exactly the change is. So i thought of exploring how to use one of the best open source diff tool to make this.
In this post i am going to explain how can we integrate WinMerge’s diff tool with VSS 5.0.
Pre-Requisites:
1. VSS 5.0 installed
2. Winmerge 2.12.4 installed.
Steps:
1. Open VSS by entering valid User name, password and connect to a Visual Source Safe database.
2. Go to Tools>Options.
3. In options dialog go to the “Custom Editors” tab by clicking on the spin button (< >)
4. Click on the Operations combo box.
5. Select “File Difference”
6. In File Extension edit box: enter file extension to use (Ex: .*) for all file types.
7. In Command Line edit box: enter the installation location of the WinMergeU.exe. on My machine.
Example:
C:\Program Files\WinMerge\WinMergeU.exe /e /x /wl /wr %1 %2
8. Click on add to add the custom edit to the list.
9. Click OK.
Now try to do the difference between two versions. It will open with the WinMerge diff tool with good colors.
Enjoy…
References: