mercurial/commands.py
branchstable
changeset 20767 bcfc4f625e57
parent 20700 b0153cb8b64e
child 20772 03774a2b6991
--- a/mercurial/commands.py	Wed Mar 19 01:07:41 2014 +0900
+++ b/mercurial/commands.py	Wed Mar 19 01:07:41 2014 +0900
@@ -5694,6 +5694,7 @@
 
         if opts.get('edit'):
             message = ui.edit(message, ui.username())
+            repo.savecommitmessage(message)
 
         # don't allow tagging the null rev
         if (not opts.get('remove') and