Mq extension qfinish commit message
Dirkjan Ochtman
dirkjan at ochtman.nl
Fri Aug 14 07:40:10 UTC 2009
On Fri, Aug 14, 2009 at 06:01, Peter Williams<pwil3058 at bigpond.net.au> wrote:
> You can also edit the patch file BUT any changes you do there won't show
> up in the qfinished change set unless you do a qrefresh first. This is
> a trap for young players. I think it's because qfinish doesn't really
> do a commit as an applied patch is already committed (sort of) so
> qfinish just changes mq's view of the change set in which the patch
> resides (from being a patch to just an ordinary change set).
>
> It would be nice if qfinish compared the description in the patch file
> with the commit message in the change set (that it's about to promote)
> and aborted if they're different (with a -f flag to force the change if
> it's really what you want to do). The same sort of thing could also be
> done for empty descriptions.
Editing the patch manually, especially *while it's applied*, is
obviously for advanced users only, so I have no pity for that case.
We should investigate adding hints about editing the commit message to
the qfinish help, and possibly even adding -e/-m options to qfinish
itself.
Cheers,
Dirkjan
More information about the Mercurial
mailing list