hgext/histedit.py
changeset 21239 19d98da5c018
parent 21233 213fd1a99cd9
child 21407 47bfe5d433ac
--- a/hgext/histedit.py	Mon May 05 21:26:40 2014 +0900
+++ b/hgext/histedit.py	Mon May 05 21:26:40 2014 +0900
@@ -298,9 +298,8 @@
                          filectxfn=filectxfn,
                          user=user,
                          date=date,
-                         extra=extra)
-    new._text = cmdutil.commitforceeditor(repo, new, [])
-    repo.savecommitmessage(new.description())
+                         extra=extra,
+                         editor=cmdutil.commitforceeditor)
     return repo.commitctx(new)
 
 def pick(ui, repo, ctx, ha, opts):