Exporting MQ patches

Ben Hood 0x6e6562 at gmail.com
Sun Aug 5 06:49:57 CDT 2007


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.

Has anybody come accross an extension that does this, or is the whole
idea pointless anyway?

Thx,

Ben


More information about the Mercurial mailing list