diff -r 2a8939e25d07 -r e47bd4c71c5e mercurial/commands.py --- a/mercurial/commands.py Sun Apr 01 23:19:37 2018 -0700 +++ b/mercurial/commands.py Sun Apr 01 23:21:17 2018 -0700 @@ -805,7 +805,7 @@ # 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: