How to diff 2 arbitrary revisions of a file?

Michael Jay Lippert mlippert255 at gmail.com
Sat Oct 17 17:19:25 UTC 2009


Thanks, I knew there must be a way to do it.

 Does anyone know if there's a way from TortoiseHg as well?

On Sat, Oct 17, 2009 at 10:47 AM, Benoit Boissinot <bboissin at gmail.com>wrote:

> On Sat, Oct 17, 2009 at 4:27 PM, Michael Jay Lippert
> <mlippert255 at gmail.com> wrote:
>
> >
> > Now what I'd like to do is see a visual diff of this particular file as
> it
> > existed in 2 of the revisions where it was changed. I would have expected
> to
> > be able to select 2 revisions and then ask for a visual diff, but it
> doesn't
> > seem to work that way.
> >
> > This seems like a common desire, at least I do it quite a lot at work as
> do
> > others I work with, so I figure that the capability must exist in
> mercurial
> > (and in TortoiseHg) and I just can't find it.
> >
>
> In command line hg: hg diff -r <rev1> -r <rev2> path/to/file
>
> regards,
>
> Benoit
> > Thanks,
> > Mike
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20091017/cd642b6b/attachment-0002.html>


More information about the Mercurial mailing list