# HG changeset patch # User Martin von Zweigbergk # Date 1475039368 25200 # Node ID 4d9999e43ff78dd97ac11a6777e6592fb58f2ead # Parent f3c4edfd35e1d7b469d518da38424ddb27b3d0f8 histedit: avoid converting nodeid to context and back again It looks like this became unnecessary in e767f5aba810 (histedit: fix preventing strips during histedit, 2015-04-04). diff -r f3c4edfd35e1 -r 4d9999e43ff7 hgext/histedit.py --- a/hgext/histedit.py Tue Sep 13 22:58:12 2016 -0400 +++ b/hgext/histedit.py Tue Sep 27 22:09:28 2016 -0700 @@ -1572,8 +1572,7 @@ state.read() histedit_nodes = set([action.node for action in state.actions if action.node]) - strip_nodes = set([repo[n].node() for n in nodelist]) - common_nodes = histedit_nodes & strip_nodes + common_nodes = histedit_nodes & set(nodelist) if common_nodes: raise error.Abort(_("histedit in progress, can't strip %s") % ', '.join(node.short(x) for x in common_nodes))