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

Augie Fackler raf at durin42.com
Sun Apr 13 21:32:26 CDT 2014


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 ;) )

> 
>   -- bkuhn
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140413/7df0c8e8/attachment.pgp>


More information about the Mercurial-devel mailing list