Exporting MQ patches
Brendan Cully
brendan at kublai.com
Sun Aug 5 10:49:38 CDT 2007
On Sunday, 05 August 2007 at 12:49, Ben Hood wrote:
> Hi,
>
> I'm searching for a command that stacks the patches in a series up
> into a single patch file.
>
> This command from the MQ wiki does the trick
>
> hg diff -r $(hg parents -r qbase --template '#rev#') -r qtip
>
> but it is a bit cryptic to memorize.
>
> Ideally I'm looking for something like
>
> hg qexport STARTPATCH:ENDPATCH
>
> so that I could define the start and end.
hg grew the qparent tag some time ago, so you could do:
hg diff -r qparent:qtip
More information about the Mercurial
mailing list