Easiest way to get a diff between repos?

Brendan Cully brendan at kublai.com
Thu Jul 26 10:08:44 CDT 2007


On Thursday, 26 July 2007 at 22:07, TK Soh wrote:
> On 7/26/07, Michael Sperber <sperber at informatik.uni-tuebingen.de> wrote:
> >
> > "TK Soh" <teekaysoh at gmail.com> writes:
> >
> > > Not sure exactly what you have in your repo, but in most cases you
> > > should have a good number of common changesets in both repos. Are you
> > > trying to compare two mutually excluded  changesets in the two repos?
> >
> > No, I'm trying to compare two specific revisions in two different
> > repositories representing two different branches of development.
> 
> Off hand, I don't know how to that. Perhaps you can generate the save
> the diff output from both repo to a common ancestor changesets then do
> a interdiff on them.

probably something like this would be easier:

from within A:
hg bundle ../A.hg ../B
cd ../B
hg -R ../A.hg diff -r rev1 -r rev2


More information about the Mercurial mailing list