diff -r d9378bfa0af0 -r efbf15979538 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Sat Mar 15 15:44:51 2014 +0100 +++ b/mercurial/cmdutil.py Tue Mar 18 14:25:28 2014 -0500 @@ -1962,6 +1962,7 @@ extra=extra) if editmsg: new._text = commitforceeditor(repo, new, []) + repo.savecommitmessage(new.description()) newdesc = changelog.stripdesc(new.description()) if ((not node)