Use Winmerge with AnkhSVN

That’s not a suggestion.

If you use AnkhSVN but haven’t already set up AnkhSVN to use Winmerge for merging and comparing, do it immediately (it’s much better than the default tool, and it’s free):

  1. Install Winmerge
  2. Open up Visual Studio and choose Tools > Options.
  3. Expand Source Control (if you can’t see it, make sure you have “show all settings” ticked)
  4. Choose Subversion User Tools
  5. For External Diff Tool and External Merge Tool, choose Winmerge.

Now you can diff and merge files (and whole folders – handy when production and source control get out of sync!) easily:

Hint: hold ALT and use the arrow keys. Up and down move you between changes, left and right copies the change from one document to the other. This allows you to find and merge the changes you need in seconds.

Advertisements

4 Responses to Use Winmerge with AnkhSVN

  1. mgowen says:

    Diffmerge is useful for those SVN 3-way merges, but it doesn’t seem as “smart” as Winmerge – it sometime gets it wrong (e.g.: misses similarites between two files that are obvious to humans, marking identical bits as different, etc)

  2. Bert Huijben says:

    I would recommend using SourceGear Diffmerge for merges instead of Winmerge as that allows performing full 3-way merge. Which makes handling conflicts at least ten times easier then when you use a 2-way merge.

    You can download diffmerge (for free) on http://www.sourcegear.com/diffmerge/.

  3. Sander Rijken says:

    If you think WinMerge is good, try DiffMerge. Also note that in the merge dropdown it says “(2 way)”. This means that it’s not able to do a 3-way merge, something you need for effective conflict resolution.

  4. Pingback: DotNetHeaven.Net

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: