##// END OF EJS Templates
tests: avoid repo.lookup() for converting revnum to nodeid...
Martin von Zweigbergk -
r37326:5da299da default
parent child Browse files
Show More
@@ -71,8 +71,8 b' Create an extension to test bundle2 remo'
71 > part.addparam(k, str(v))
71 > part.addparam(k, str(v))
72 > elif verb == 'changegroup':
72 > elif verb == 'changegroup':
73 > _common, heads = args.split()
73 > _common, heads = args.split()
74 > common.extend(repo.lookup(r) for r in repo.revs(_common))
74 > common.extend(repo[r].node() for r in repo.revs(_common))
75 > heads = [repo.lookup(r) for r in repo.revs(heads)]
75 > heads = [repo[r].node() for r in repo.revs(heads)]
76 > outgoing = discovery.outgoing(repo, common, heads)
76 > outgoing = discovery.outgoing(repo, common, heads)
77 > cg = changegroup.makechangegroup(repo, outgoing, '01',
77 > cg = changegroup.makechangegroup(repo, outgoing, '01',
78 > 'changegroup')
78 > 'changegroup')
General Comments 0
You need to be logged in to leave comments. Login now