[PATCH] qseries: add --edit option for editing series file for current queue
nicdumz at gmail.com
Wed Jun 23 04:26:41 CDT 2010
2010/6/17 Mads Kiilerich <mads at kiilerich.com>:
> This was discussed on
> and almost got an ok on
> Are there any more specific comments to how the documentation could/should
> be improved?
I was thinking of a few improvements after this edit phase. Basically,
the idea would be to try to parse the edited file, to try to prevent
* "syntax is invalid. [d]iscard changes/[a]ccept changes/[e]dit again?"
* "you removed x patches and added y patches. [d]iscard
changes/[a]ccept changes/[e]dit again?"
Or is it a bad idea? Of course, a
mq.shutupandletmeborkmyseriesfileifiwant config option could be
Also, what about prepending, or appending a few comment lines to the
edited file, "hg commit"-style?
HG: Edit this file with care. Lines starting with "HG:" are stripped.
HG: You are only supposed to reorder lines, one patch name per line
HG: You are responsible for handling patch dependencies: if patch B
HG: depending on A is put before patch A, hg is likely to have difficulties
HG: applying B alone, and then A on top of B. In this case you will have
HG: to refresh both patches so they apply cleanly.
Or is it too much?
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
Nicolas Dumazet — NicDumZ
More information about the Mercurial-devel