Avoiding massive merges
Thomas Arendsen Hein
thomas at intevation.de
Thu Sep 6 09:01:43 CDT 2007
* John Levon <levon at movementarian.org> [20070906 15:46]:
> We have a Xen 3.0.4 tree, like this:
>
> | xen
> |
> |\ 3.0.4-branched
> | \
> | \
> | \_ 3.0.4 (our tree)
> |
> |
> |\ 3.1-branched
> | \
> | \_ 3.1
>
>
> Moving from the branched 3.0.4 to the branched 3.1 involves a ginormous
> merge. Any suggestions for a strategy? I think I need an 'hgmerge' that
> simply accepts the new version of the clashing files, or is there a
> better way?
>
> What do other people do in such circumstances?
hg co -C 3.1-head && HGMERGE=true hg merge 3.0.4-ourtree-head
If 3.1-head is just tip and 3.0.4-ourtree-head is the only other
head, this could be simplified to:
hg co -C && HGMERGE=true hg merge
Thomas
--
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
More information about the Mercurial
mailing list