Multiple patch queues

Paul Moore p.f.moore at gmail.com
Sun May 4 08:18:31 CDT 2008


2008/5/4 Peter Arrenbrecht <peter.arrenbrecht at gmail.com>:
>  Maybe it would work a little better if you cloned the windows queue as
>  your queue:
>
>   hg clone /the/windows/queue .hg/patches
>
>  and then added a guard "win" to all the patches in that queue (easiest
>  by editing series directly). Then you start adding your own patches on
>  top.

Yes, that sounds plausible.

What I've started doing is having 2 repos - dev and test. I manage my
patches in dev, and in test I have the windows testing patches
applied. Then when I want to test, I apply all my patches in dev, cd
test, hg qpop -a, hg pull ../dev, hg qpush -a. The only thing I need
to worry about then is when I edit a patch - in that case I need to hg
strip in test to remove the old version, before I pull.

Once again, I find that Mercurial offers me the pieces I need to build
lots of different ways of working, but leaves the choices up to me.
This isn't a complaint at all - it's one of the things I like about
Mercurial - but maybe a "best practices" page on the Wiki would be
useful to capture some of these patterns? (Off I go to add that to my
ever-growing list of things to do :-))

Thanks,
Paul.


More information about the Mercurial mailing list