mercurial/cmdutil.py
changeset 21036 a1a1bd09e4f4
parent 21033 254f55b64e31
child 21040 bdf5ed5246d2
--- a/mercurial/cmdutil.py	Wed Apr 16 02:04:41 2014 +0900
+++ b/mercurial/cmdutil.py	Wed Apr 16 02:38:11 2014 +0900
@@ -1948,6 +1948,8 @@
             if not message:
                 editmsg = True
                 message = old.description()
+            elif opts.get('edit'):
+                editmsg = True
 
             pureextra = extra.copy()
             extra['amend_source'] = old.hex()