histedit: drop the 'nodetoverify' local variable
We can just use 'action.node'.
--- a/hgext/histedit.py Fri Aug 26 20:34:58 2016 +0200
+++ b/hgext/histedit.py Fri Aug 26 20:38:37 2016 +0200
@@ -1385,9 +1385,8 @@
raise error.ParseError(_('unknown constraint "%s"') %
constraint)
- nodetoverify = action.node
- if nodetoverify is not None:
- ha = node.hex(nodetoverify)
+ if action.node is not None:
+ ha = node.hex(action.node)
if _constraints.noother in constraints and ha not in expected:
raise error.ParseError(
_('%s "%s" changeset was not a candidate')