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

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun Apr 13 23:29:50 CDT 2014



On 04/13/2014 10:32 PM, Augie Fackler wrote:
>
> On Apr 13, 2014, at 1:35 PM, Bradley M. Kuhn <bkuhn at ebb.org> wrote:
>
>> 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 concur - since we've gone ahead and spent -e in graft et al, let's go ahead and just take this one.
>
> I've queued this (from an airplane, so it may not get pushed when this email goes out ;) )

I'm currently running the test on it, I'll probably race you at pushing 
it ;-)

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list