hgext/histedit.py
branchstable
changeset 27955 b721c9543a4f
parent 27869 76ecf0227ea5
child 27956 f3eb98b8fe12
--- a/hgext/histedit.py	Sat Jan 30 18:00:11 2016 +0900
+++ b/hgext/histedit.py	Mon Feb 01 20:29:20 2016 +0900
@@ -1315,12 +1315,12 @@
             if _constraints.noother in constraints and ha not in expected:
                 raise error.ParseError(
                     _('%s "%s" changeset was not a candidate')
-                     % (action.verb, node.short(ha)),
+                     % (action.verb, ha[:12]),
                     hint=_('only use listed changesets'))
             if _constraints.forceother in constraints and ha in expected:
                 raise error.ParseError(
                     _('%s "%s" changeset was not an edited list candidate')
-                     % (action.verb, node.short(ha)),
+                     % (action.verb, ha[:12]),
                     hint=_('only use listed changesets'))
             if _constraints.noduplicates in constraints and ha in seen:
                 raise error.ParseError(_(