changing commit comments

Hans Meine meine at informatik.uni-hamburg.de
Tue Jul 15 05:58:11 CDT 2008


Am Dienstag, 15. Juli 2008 11:47:12 schrieb Peter:
> Is there an easy way to change a commit comment to correct a spelling
> error after the commit?

I usually use "hg rollback" and the repeat the commit (which is easy since I 
changed my habit to use the -m argument to commit).

But I would be very interested in a general solution.  Unfortunately, I am not 
sure if it is possible to do so without changing the revision names (IIRC the 
commit message is included in the hash?); when that's not important, one 
could probably hack something together on top of mercurial queues.

-- 
Ciao, /  /
     /--/
    /  / ANS


More information about the Mercurial mailing list