hgext/histedit.py
branchstable
changeset 24920 b5eb01500696
parent 24869 95a67d687903
child 24958 a920abf5a592
--- a/hgext/histedit.py	Thu Apr 30 22:40:18 2015 +0900
+++ b/hgext/histedit.py	Wed Apr 22 15:53:03 2015 -0700
@@ -747,7 +747,8 @@
     elif goal == 'edit-plan':
         state.read()
         if not rules:
-            comment = editcomment % (state.parentctx, node.short(state.topmost))
+            comment = editcomment % (node.short(state.parentctxnode),
+                                     node.short(state.topmost))
             rules = ruleeditor(repo, ui, state.rules, comment)
         else:
             if rules == '-':