[PATCH]mq:a patch stores

Chris Mason mason at suse.com
Tue Sep 13 21:29:55 CDT 2005


On Tue, 13 Sep 2005 23:11:00 +0800
"Ling, Xiaofeng" <xiaofeng.ling at intel.com> wrote:

> > I definitely understand why you want this, but I think there's a
> > larger problem this patch doesn't solve.  You're getting into the
> > general problem of series file management, where you might want to
> > make a bunch of comments about a section of patches, disable a
> > patch, or flag a patch with a special tag.    
> Yes, I know the management feature can be very complex, so currently
> for me, just a stores file is enough.This is just for putting some
> independent patches temporally. I don't expect mq to manage a bunch
> of patches that for different big features.
> 

I've updated http://www.serpentine.com/~cmason/ to the current hg tip
and also included some of your patches.

hg qnew -m was added, along with the series -v changes.  I didn't add
the store patch, but did something slightly different instead.

hg qseries -m  displays a sorted list of the files under .hg/patches
that are not in the series file. hg qimport -e patch will take a patch
under .hg/patches and add it to the series file.

This doesn't allow you to work by patch number, but it seems more
generally useful to me.  Thanks for your input so far, please let me
know how this works out for you.

-chris


More information about the Mercurial mailing list