--- a/tests/test-bundle2-remote-changegroup.t Sun Sep 10 18:48:42 2017 -0700
+++ b/tests/test-bundle2-remote-changegroup.t Sun Sep 10 18:50:12 2017 -0700
@@ -64,7 +64,8 @@
> common.extend(repo.lookup(r) for r in repo.revs(_common))
> heads = [repo.lookup(r) for r in repo.revs(heads)]
> outgoing = discovery.outgoing(repo, common, heads)
- > cg = changegroup.getchangegroup(repo, 'changegroup', outgoing)
+ > cg = changegroup.makechangegroup(repo, outgoing, '01',
+ > 'changegroup')
> newpart('changegroup', cg.getchunks())
> else:
> raise Exception('unknown verb')