diff branches

Thomas Arendsen Hein thomas at intevation.de
Mon Dec 18 16:44:30 CST 2006


* 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

Or pull repo2 into repo1 and use rollback if you don't like the
result. But make sure nobody pulls from you in between.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list