[PATCH] commit: --edit/-e to force edit of otherwise-supplied commit message

Bradley M. Kuhn bkuhn at ebb.org
Sun Apr 13 12:35:57 CDT 2014


On 09/08/2013 07:15 PM, Bradley M. Kuhn wrote:
>> # HG changeset patch
>> # User "Bradley M. Kuhn" <bkuhn at ebb.org>
>> # Date 1378681328 14400
>> # Node ID 3d6eba7684266bacc022dfb3f15ce242fd645aa7
>> # Parent  1d07bf106c2ad1c7ef5e257e754ca8d858bd04b0

Pierre-Yves David wrote today:
> This patch seems to got lost in discussion swamps

Indeed, it was stalled because I was going to rework it to use a long
option only (as Auggie suggested on this thread), and not -e.

However, if, in the meantime, -e/--edit has become a standard for
this purpose with other Mercurial commands...
>  multiple other command (tags, graft, (evolve
> amend)) use the same flags (e, edit) for the same purpose.
... perhaps my original patch now stands on its own without further
modification and is thus resonable to be accepted as it stands.

Auggie had also suggested that the long option be --edit-message which
seemed reasonable at the time, but if other commands are using just --edit
then perhaps consistency is better, which means my original patch is
good to go.

   -- bkuhn


More information about the Mercurial-devel mailing list