diff --git a/tests/test-bundle2-remote-changegroup.t b/tests/test-bundle2-remote-changegroup.t --- a/tests/test-bundle2-remote-changegroup.t +++ b/tests/test-bundle2-remote-changegroup.t @@ -71,8 +71,8 @@ > part.addparam(k, str(v)) > elif verb == 'changegroup': > _common, heads = args.split() - > common.extend(repo.lookup(r) for r in repo.revs(_common)) - > heads = [repo.lookup(r) for r in repo.revs(heads)] + > common.extend(repo[r].node() for r in repo.revs(_common)) + > heads = [repo[r].node() for r in repo.revs(heads)] > outgoing = discovery.outgoing(repo, common, heads) > cg = changegroup.makechangegroup(repo, outgoing, '01', > 'changegroup')