[ANN] New extension: mergeutil

Adrian Buehlmann adrian at cadifra.com
Tue Jan 19 17:29:10 CST 2010


On 19.01.2010 22:29, Colin Caughie wrote:
> Faced with a large, complicated merge of two divergent branches, I just wrote a simple but IMO very useful extension to help me out with it:
> 
> http://bitbucket.org/ccaughie/mergeutil
> 
> The most useful thing it does is to label the "local", "other" and "base" revisions for the merge, so that you can easily do comparisons between them. (It does this just by looking at the two parents of the wd and finding their common ancestor, it doesn't look at the per-file information in the mergestate).
> 
> For example one thing I often do when merging a file is to compare the "base" and "local" versions, and also the "other" and "current" versions, and then check that the two diffs look roughly similar. With the extension you can do this like:
> 
> hg vdiff -r base -r local foo.py
> hg vdiff -r other foo.py
> 
> You can also do:
> 
> hg mergeinfo
> 
> to display information about the merge.
> 

Thanks for sharing.

Can you please add it to http://mercurial.selenic.com/wiki/UsingExtensions
so it can be found from there?


More information about the Mercurial mailing list