mercurial/cmdutil.py
branchstable
changeset 20771 434619dae569
parent 20700 b0153cb8b64e
child 20773 efbf15979538
--- a/mercurial/cmdutil.py	Wed Mar 19 01:07:41 2014 +0900
+++ b/mercurial/cmdutil.py	Wed Mar 19 01:07:41 2014 +0900
@@ -1782,6 +1782,7 @@
                                  extra=extra)
             if editmsg:
                 new._text = commitforceeditor(repo, new, [])
+            repo.savecommitmessage(new.description())
 
             newdesc =  changelog.stripdesc(new.description())
             if ((not node)