[informatique] Re: a "patch tree" instead of a patch queue?

Dan dan at dandrake.org
Thu May 29 05:49:13 CDT 2008


On Wed, 28 May 2008 at 07:43PM +0200, "Jérôme M. Berger" wrote:
> You could also use "qguard" and "qselect" to tag patches for each
> situation, e.g:
> 
> hg qpop -a
> hg qguard arxiv +arxiv
> hg qguard journal +jounal
> hg qselect arxiv
> hg qpush -a

This is a great suggestion. I had no idea Mercurial could do anything
like this.

I played with this idea today and got it to work the way I want --
mostly. :)  It does effectively do what I asked about in the original
post, but Ted's suggestion of multiple heads (possibly in the patch
queue repo) got me thinking and I might try something different. For
example, it's common to upload several updated versions of a paper to
the arxiv. With this setup, there's no history of the state of my
document when I uploaded it -- I can't use tags to revert to the exact
version I uploaded previously. Version controlling the patch repo might
do this. 

Dan

-- 
Ceci n'est pas une .signature.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://selenic.com/pipermail/mercurial/attachments/20080529/ba522021/attachment.pgp 


More information about the Mercurial mailing list