The ability to find differences in source code files and merge
conflicts if they arise is a basic task that every programmer requires.
Utilities that perform this task are part of every programmers arsenal.
So it came as quite a surprise that the selection for such tools on the
Mac (a fantastic development platform) was extremely limited.For my particular purposes, I need a graphical diff/merge tool that's free, works on both the local file system and Subversion, has a way to quickly see how many differences exist and rapidly go to each one. Plus it's going to be running on a Mac, so it needs to have a decent user interface. That's not too much to ask for, is it?
In this post, I'll take a brief look at three free apps, FileMerge, Meld, and Perforce P4Merge. This is not meant to be a comprehensive review, but rather an overview of some of the most popular and capable diff/merge tools available.
FileMerge
Meld
Perforce P4Merge
P4Merge integrates with the Mac quite well, including integration with Cornerstone Subversion client. Using Cornerstone, you can change the diff tool to P4Merge. There is a trick however. Simply specifying P4Merge as the application is not enough. You actually need to perform this task twice, the second time will actually drill into the contents of the app. Specifically, you need to set the app to: /Applications/p4merge/Contents/Resources/launchp4merge. Once this is done, You'll be able to quickly diff files in Cornerstone using one of the best free diff/merge viewers available.
Honorable Mentions
The following tools did not meet my requirements. Most were paid apps, the most expensive of which was Araxis Merge, which is an absolutely fantastic tool by the way.DiffFiles is a standalone, commercial client included in oXygen XML. I use oXygen XML on the Mac all the time, as it provides the closest thing to XMLSpy on Windows. The bundle also includes a Subversion client, DiffDirs, Tree Editor, and XML Generator, so it's quite a good deal.
Changes by Connect Flow is a commercial, Mac only viewer.
DiffMerge from SourceGear is a free, cross-platform viewer. It appears to have the features a developer would want, but it's ugly as sin. So quite honestly as a Mac user who is accustomed to a certain level of usability, I would never install this app for that reason alone.

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=9547cddf-6ab1-4671-adcd-59582f710a1e)






