Search code examples
version-controlmercurialmercurial-queue

Updating Commit Message in Mercurial MQ extension


After using hg qnew and hg qrefresh to create and update a patch that I want to apply to my repository, but the commit message that I wrote when I did hg qnew was not very good, it did not reference the ticket number from trac, and I would like to say something in it about some of the issues that my commit addresses.

How do I do something like hg qrewritemycommitmessage. I have examined the docs on the website and I have come up blank.


Solution

  • You just do hg qrefresh -m "new commit message".