views:

51

answers:

1

If you make a commit in mercurial:

hg commit -m "an incomplete description of the commit"

what are your options for correcting the commit description? Should I just immediately commit again with the complete description?

edit

Actually, you can't commit without something having changed.

+4  A: 

Use

hg rollback

It undoes the last commit completely. You can then recommit with a proper message.

Matthew Flaschen
As long as you haven't pushed the change (or had it pulled)
Angelo Genovese