Exporting MQ patches
Ben Hood
0x6e6562 at gmail.com
Sun Aug 5 09:17:50 CDT 2007
Hi,
> > I'm searching for a command that stacks the patches in a series up
> > into a single patch file.
> Have you checked qfold?
As far as I can tell from the help, with qfold "patches must not yet
be applied. Each patch will be successively applied to the current
patch in the order given. If all the patches apply successfully, the
current patch will be refreshed with the new cumulative patch, and the
folded patches will be deleted. With -k/--keep, the folded patch files
will not be removed afterwards."
Doesn't this mutate the state of the series, even if I specify the -k
option, because it refreshes the current patch?
Basically if have patches A,B, and C in the .hg/patches dir, I could
use cat to concatinate in the sequence defined in the series file and
this would give me the patch I need (granted, this subsequent patches
may reverse the effect of previous patches, but it would work).
Is there maybe a way to do a qfold to compute the net patch over the
specified series and redirect this to an ouput file rather than
refreshing the current patch?
Thx,
Ben
More information about the Mercurial
mailing list