Quicktip: Using TortoiseSVN with Sourcegear Diffmerge

| No Comments | No TrackBacks

At work, we try to remain agnostic about the development tools we use. For source code management some teams are using Sourcesafe, others are using Sourcevault, my team is using SVN. Since we are also a Microsoft shop we use TortoiseSVN instead of the commandline tools. There are no problems with them but it's a lot easier to use the GUI.
By default tortoise installs its own diffviewer, tortoisemerge, for viewing and modifying changes. I prefer another. Sourcegear diffmerge provides a better user experience and the text is a lot easier to follow. To set tortoisesvn to use a different diffviewer we open settings and select diff viewer in the External Programs subtree. Select External radiobox.

Enter this text into the dialog box:
"C:\Program Files\Sourcegear\DiffMerge\DiffMerge.exe" /t1=mine /t2=theirs %mine %theirs

Click on Merge Tool and select External radiobox. Enter this into the textbox:
"C:\Program Files\Sourcegear\DiffMerge\DiffMerge.exe" /t1=mine /t2=base /t3=theirs /r=%merged %mine %base %theirs

Save and close the dialogbox. Fire up a file that was modified to compare and you'll be using Diffmerge instead of tortoisemerge.

No TrackBacks

TrackBack URL: http://www.joechin.com/cgi-bin/movabletype/mt-tb.cgi/47

Leave a comment

About this Entry

This page contains a single entry by Joe Chin published on March 11, 2008 12:21 PM.

Developer library was the previous entry in this blog.

Firefox Mac vs. Firefox Windows is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.02