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

Idan Kamara idankk86 at gmail.com
Mon Sep 9 08:44:55 CDT 2013


On Mon, Sep 9, 2013 at 6:15 AM, Augie Fackler <raf at durin42.com> wrote:

> On Sun, Sep 08, 2013 at 07:15:13PM -0400, Bradley M. Kuhn wrote:
> > # HG changeset patch
> > # User "Bradley M. Kuhn" <bkuhn at ebb.org>
> > # Date 1378681328 14400
> > # Node ID 3d6eba7684266bacc022dfb3f15ce242fd645aa7
> > # Parent  1d07bf106c2ad1c7ef5e257e754ca8d858bd04b0
> > commit: --edit/-e to force edit of otherwise-supplied commit message
>
> I'm not quite sure I see the use case - is this so you can edit
> something after a script specified a commit message?
>
> Also, I'm hesitant to spend the '-e' short flag right away, I guess
> that depends on the use case.
>

My guess is he got the idea from git, where at least one use case is
something
like: git commit -m "a commit message that suddenly got too long" -e

And it will open the editor with what you already typed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130909/f04bc865/attachment.html>


More information about the Mercurial-devel mailing list