mutiple independent mq in repo

Chris Mason mason at suse.com
Thu Jun 8 09:37:15 CDT 2006


On Thursday 08 June 2006 10:20, TK Soh wrote:
> I have just started to look at mq, which seems pretty useful. However,
> I wonder if I can maintain multiple independent branches of mq in the
> same repo. Given the size of the repos I have to deal with, even cheap
> cloning become expensive. I'm hoping that thing will be more
> manageable if multiple mq is allowed (and how?).

Informally, you can just move different things in .hg/patches.  ie:

.hg/patches.branch1
.hg/patches.branch2

And then rename them into .hg/patches when you want to use them.

Formally, I'd be happy to take a patch that switches between different named 
mq directories.  It would have to hg qpop -a (or switch to a different head 
in the hg repo) before using a different mq directory.

-chris


More information about the Mercurial mailing list