##// 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 71 > part.addparam(k, str(v))
72 72 > elif verb == 'changegroup':
73 73 > _common, heads = args.split()
74 > common.extend(repo.lookup(r) for r in repo.revs(_common))
75 > heads = [repo.lookup(r) for r in repo.revs(heads)]
74 > common.extend(repo[r].node() for r in repo.revs(_common))
75 > heads = [repo[r].node() for r in repo.revs(heads)]
76 76 > outgoing = discovery.outgoing(repo, common, heads)
77 77 > cg = changegroup.makechangegroup(repo, outgoing, '01',
78 78 > 'changegroup')
General Comments 0
You need to be logged in to leave comments. Login now