diff --git a/hgext/histedit.py b/hgext/histedit.py index 478e4a2a9952aafb31269691f231546a5ad4b725_aGdleHQvaGlzdGVkaXQucHk=..034d38b5f6fb95f58d16039a8fa4209cb3513ee9_aGdleHQvaGlzdGVkaXQucHk= 100644 --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -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')