[PATCH RFC] commit: add --reuse-message for keeping the old commit message during amend
mpm at selenic.com
Wed Feb 20 12:42:39 CST 2013
On Tue, 2013-02-19 at 20:35 -0500, Augie Fackler wrote:
> On Feb 14, 2013, at 5:23 AM, Pierre-Yves David <pierre-yves.david at logilab.fr> wrote:
> > On Wed, Feb 13, 2013 at 07:42:44PM +0000, Durham Goode wrote:
> >> On 2/12/13 8:56 PM, "Matt Mackall" <mpm at selenic.com> wrote:
> >>> I'm now inclined to think that 'hg commit --amend' will eventually be
> >>> replaced by 'hg amend', which will have a different default. Then we'll
> >>> deprecate --amend on commit.
> >>> So I think we should leave this alone. But I don't think we've got quite
> >>> enough experience here to add the new amend command yet.
> > In evolve, I'll probably drop the internal "hg amend" code in favor of using "hg commit
> > --amend" with an altered editor.
> Hm. I think it's bad practice for extensions to alter the behavior of
> off the shelf commands with off the shelf flags - I've done that in
> the past and always regretted it.
I think you misread his proposal.
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel