diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py --- a/mercurial/obsolete.py +++ b/mercurial/obsolete.py @@ -496,9 +496,6 @@ def successorssets(repo, initialnode, ca for its live spawn. Code that makes multiple calls to `successorssets` *must* use this cache mechanism or suffer terrible performances.""" - if isinstance(initialnode, int): - initialnode = repo.unfiltered().changelog.node(initialnode) - succmarkers = repo.obsstore.successors # Stack of nodes we search successors sets for