diff -r 95aab23a806b -r bcfc4f625e57 mercurial/commands.py --- 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