Wishlist: the ability to correct wrong commit messages.
Manuel Jacob
me at manueljacob.de
Wed Jul 3 19:24:43 UTC 2019
On 2019-07-01 23:58, Alan Mackenzie wrote:
> I've had a look at the documentation for evolve, and I'm afraid I'm not
> optimistic about it. A key feature of Mercurial is that it's both
> user-friendly and learner-friendly. I've spent something over an hour
> trying to find anything relevant to correcting a commit message, and
> found nothing.
Correcting a commit message with evolve works exactly the same as
without evolve: you update to the changeset, execute "hg commit --amend"
and change the commit message.
Evolve however improves the usefulness of this:
1) It enables to safely share mutable history.
2) It enables to amend changesets which have children. The children will
become "unstable". This can be solved with the "hg evolve" command.
In this example, the commit message is amended:
https://www.mercurial-scm.org/doc/evolution/sharing.html#example-1-amend-a-shared-changeset
More information about the Mercurial
mailing list