tags:

views:

35

answers:

1

I'd like to know the best/easiest way to get a visual diff of a file given 2 revisions in Mercurial.

ie: I'd like to visualize the difference between revision 3 and revision 12, etc.

+3  A: 

If by 'visual' you mean a text comparison you can do:

hg diff -r 3 -r 12

If you want a GUI tools you can easily configure and use the ExtDiff extension, which comes with Mercurial, and use:

hg yourdiff -r 3 -r 12

where yourdiff was configured in your hgrc file.

Ry4an