diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -805,7 +805,7 @@ def bisect(ui, repo, rev=None, extra=Non # update state if good or bad or skip: if rev: - nodes = [repo.lookup(i) for i in scmutil.revrange(repo, [rev])] + nodes = [repo[i].node() for i in scmutil.revrange(repo, [rev])] else: nodes = [repo.lookup('.')] if good: