[PATCH] commit: --edit/-e to force edit of otherwise-suppliedcommit messagee

Sean Farley sean.michael.farley at gmail.com
Sun Apr 13 19:37:15 CDT 2014


Bradley M. Kuhn <bkuhn at ebb.org> writes:

> 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.

I've been using this patch as is and meant to reply that -e/--edit are
in line with other commands so I would prefer to keep it as such.

Side note: I can't live without this patch now. So convenient.


More information about the Mercurial-devel mailing list