diff branches

Bryan Murdock bmurdock at gmail.com
Mon Dec 18 23:21:07 UTC 2006


On 12/18/06, Thomas Arendsen Hein <thomas at intevation.de> wrote:
> * Bryan Murdock <bmurdock at gmail.com> [20061218 21:37]:
> > I was wondering if there is a way to diff two branches.  I'm think the
> > syntax should be something like:
> >
> > hg diff /path/to/repo1 /path/to/repo2
>
> Would be nice, yes. I think there is a feature request in the BTS.
>
> WHat you can do now is:
> hg clone repo1 foo
> cd foo
> hg pull ../repo2
> hg diff -rtip

Ahhh, of course.  I've read the man pages and scoured the wiki and it
does seem like creating a branch is the solution (or, workaround) to a
lot of problems.  The one thing I wonder is how long creating a branch
takes for a really big project, especially if repo1 in this example is
on another machine?  Might make these kinds of workarounds less
enticing if it's going to take a long time.

I'll have to play around and see what I think.

Bryan



More information about the Mercurial mailing list