« Headed to Vegas | Main | User Group Sponsorship: Chicago Java Users Group »

Using SourceGear DiffMerge as the Difference/Merge viewer in SourceSafe 2005

If you're still using Visual SourceSafe (1), but you'd like to upgrade the tools used for visual diffing and merging, here's how to plug in DiffMerge:

In VSS 2005's Tools | Options dialog, you'll want to first Add an entry for Operation File Difference. For the File Extension, enter .*

For the command line, you'll need to find the full location of DiffMerge.exe. By default, it's in c:\program files\sourcegear\diffmerge; if your system is different, substitute accordingly. Assuming the default path, your command line would be (all one line):

C:\Program Files\SourceGear\DiffMerge\diffmerge.exe --title1="original version" --title2="modified version" %1 %2

Similarly, to set DiffMerge as your Visual Merge too, add a File Merge entry, whose command line is:

C:\Program Files\SourceGear\DiffMerge\diffmerge.exe --title1="source branch" --title2="base version" --title3="destination branch" --result=%4 %1 %3 %2

When all's said and done, your options dialog will look something like:

And Visual Merging will lead you to:

  1. Why? Please stop that. If not Vault, then something else)

Comments (1)

Thanks for the info on the syntax. Super easy. Don't worry, we've already purchased TFS and are migrating soon! :)

About

This page contains a single entry from the blog posted on November 9, 2007 10:22 AM.

The previous post in this blog was Headed to Vegas.

The next post in this blog is User Group Sponsorship: Chicago Java Users Group.

Many more can be found on the main index page or by looking through the archives.

Paul Roub
SourceGear
Work:
115 North Neil St. #408
Champaign, IL 61820-4024
USA
work: +1-217-356-0105 x722