[RFC] Amend commit messages

Isaac Jurado diptongo at gmail.com
Thu Feb 24 07:02:29 UTC 2011


On Wed, Feb 23, 2011 at 9:41 AM, Gilles Moris <gilles.moris at free.fr> wrote:
> Hello,
>
> I don't remember any extension in this area, but this is a recurrent
> question on the mailing list:
> "I made a mistake in my commit message. How can I change it?"

In that particular case, the solution, for me, is quite straight
forward:

  $ hg commit
  [edit bogus message]
  $ hg rollback
  $ hg commit
  [open a new editor window with .hg/last-message.txt and fix it]

Those are my two cents.

Cheers.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci



More information about the Mercurial-devel mailing list