[Python-Dev] Hg: inter-branch workflow

Nick Coghlan ncoghlan at gmail.com
Mon Mar 28 12:35:33 CEST 2011


On Mon, Mar 28, 2011 at 8:13 PM, Paul Moore <p.f.moore at gmail.com> wrote:
> For people in the "clean history" school, I'd recommend looking at mq
> for your personal use. But it's definitely an advanced feature of
> Mercurial, so it may be better to understand core Mercurial (and at
> least temporarily accept that Mercurial is based on the "keep all
> history" school of thought, or you'll struggle to match the
> assumptions of the documentation to your thinking :-)) before diving
> into mq.

I'm seeing if I can get the best of both worlds by having a public
sandbox repo where I work on things (which has the full messy history
of development on its feature branches), and then just drop them into
the main repo as coherent patches. Once I land a patch, I'll close the
original feature branch in the sandbox, so merge conflicts won't be an
issue.

Mercurial makes merging easy enough that I'm happy with the way that
approach is working so far.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list