Exporting MQ patches

mercurial at selenic.com mercurial at selenic.com
Sun Aug 5 07:11:36 CDT 2007


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.
> 
> Has anybody come accross an extension that does this, or is the whole
> idea pointless anyway?
> 
> Thx,
> 
> Ben
> 
Have you checked qfold?


More information about the Mercurial mailing list