Mercurial allows you to setup an external diff tool to handle viewing diffs. Here is how you can get Mercurial to use FileMerge (the merge tool that is installed with the OSX developer tools).
Install the fmscripts wrapper.
Download the scripts, unpack them, and install them.
1 2 3 4 5 | |
Tell Mercurial to use FileMerge
Edit your ~/.hgrc file and add the following:
1 2 3 4 5 | |
Use FileMerge to view a diff
If you have a dirty working copy, you can now view the diff between it and the tip by using the following command:
1
| |
Of course, you can still use all the normal diff options. For example, to view the differences between two revisions, do this:
1
| |
Or for a single file:
1
| |
Or to see the difference between a revision and your working copy for a single file:
1
| |
Yay, Mercurial.