SourceGear release DiffMerge - for free

image

A good, free, 3-way merging tool is very difficult to come by. Most tools that diff and merge either are not free, or they do not support 3-way merging, or they are simply have limited editing capabilities.

Up to now, I have only found one tool that features all of these characteristics. However, SourceGear have now changed that by releasing their DiffMerge tool for free.

DiffMerge includes features such as graphical diff, graphical merging between 3 files, folder diff, rulesets per file type and it is cross platform. Embarrassingly, the tool does not support keyboard shortcuts.

Configuring TortoiseSVN to use DiffMerge

After installing DiffMerge, you can configure TortoiseSVN to use DiffMerge as the default tool to diff files and to resolve conflicts. Navigate to the Settings screen in TortoiseSVN and locate the Diff Viewer option on the left. Enter all the options like the screenshot below.

image

The text in the textbox is as follows:

"C:\Program Files\SourceGear\DiffMerge\DiffMerge.exe" /t1=Mine /t2=Theirs %mine %theirs

Then click on the Merge Tool option on the left, and fill the form values in the same way, except that the textbox should have the following text:

"C:\Program Files\SourceGear\DiffMerge\DiffMerge.exe" /t1=Mine /t2=Base /t3=Theirs /r=%merged %mine %base %theirs

The next time that you edit a conflict while using TortoiseSVN, DiffMerge will open.

image

Published Tuesday, June 05, 2007 8:01 PM by trumpi

Comments

# re: SourceGear release DiffMerge - for free

You are a godsend, I've been looking for a good, easy to use, independant from other stuff diff tool.  Thanks for posting!

Wednesday, June 06, 2007 9:10 PM by mailowl

# re: SourceGear release DiffMerge - for free

Just one thing, I tried using the arguments you specified and it just crashes on me :( I take out the arguments and it works (I haven't tried the merge yet).  I'm using TortoiseSVN 1.4.1; and suggestions?

Tuesday, June 19, 2007 10:13 AM by mailowl

# re: SourceGear release DiffMerge - for free

Nevermind, I figured it out! :) If you hover over the textbox in the Diff Viewer settings it gives you the options available.  I had to set mine to:

"C:\Program Files\SourceGear\DiffMerge\DiffMerge.exe" /t1=Base /t2=Mine %base %mine

I've put the Base on the left because when you load DiffMerge it marks the Left panel as "Older or Original Version"

Tuesday, June 19, 2007 10:36 AM by mailowl

# DiffMerge is free, try it with AnkhSVN at DamienG

Pingback from  DiffMerge is free, try it with AnkhSVN at  DamienG

Thursday, August 23, 2007 9:01 PM by DiffMerge is free, try it with AnkhSVN at DamienG

# ankhsvn

Pingback from  ankhsvn

Sunday, April 20, 2008 3:44 PM by ankhsvn