|
Boost : |
Subject: Re: [boost] [git] Mercurial? easy merging in svn, how about git/hg?
From: Dave Abrahams (dave_at_[hidden])
Date: 2012-04-02 19:56:21
on Mon Apr 02 2012, Martin Geisler <mg-AT-aragost.com> wrote:
>> In svn the blocking merge is recorded in the system. So whenever
>> anyone will merge the stable into dev svn will know which changes not
>> to merge. How does hg/git help in communicating this? Imagine a branch
>> where many developers do bugfixes and someone will once a week merge
>> things into dev. How shall he know which changes to skip?
>
> You cannot skip changes -- you really must merge them from stable into
> dev (really 'default' when using Mercurial). What you can do is to
> merge-and-ignore:
>
> hg update default
> hg merge stable
> hg revert --all --rev default
For completeness, in Git this is spelled
git merge -s ours stable
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk