[issue286] mq: "state" shouldn't be in the patch directory

Chris Mason mason at suse.com
Tue Jun 13 12:48:02 CDT 2006


On Tuesday 13 June 2006 13:13, Jeremy Fitzhardinge wrote:
> New submission from Jeremy Fitzhardinge <jeremy at goop.org>:
>
> The "state" file shouldn't be in the mq patch directory, since this
> prevents the patch directory from being shared by multiple repos. 
> Similarly, the "series" file could be separated out.
>
> This would be useful for me, since I'd like to have a single patch repo
> applied against multiple other repos in slightly different states.
>

This can quickly get tricky.  If you run hg qrefresh in one place you have the 
patch applied, the patch will be changed in all of the others.

mq does the same hard link detection the rest of hg does.  So you can safely 
hard link trees between repos.  Is this sufficient for you?

-chris




More information about the Mercurial mailing list