tests: directly 'getchangegroup'
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 04 May 2017 12:41:50 +0200
changeset 32167 d62626233aa2
parent 32166 42efb1b2cfb8
child 32168 4e6aab69a98b
tests: directly 'getchangegroup' It is identical to 'getlocalchangegroup' with a shorter name.
tests/test-bundle2-format.t
--- a/tests/test-bundle2-format.t	Thu May 04 12:41:36 2017 +0200
+++ b/tests/test-bundle2-format.t	Thu May 04 12:41:50 2017 +0200
@@ -113,7 +113,7 @@
   >             headmissing = [c.node() for c in repo.set('heads(%ld)', revs)]
   >             headcommon  = [c.node() for c in repo.set('parents(%ld) - %ld', revs, revs)]
   >             outgoing = discovery.outgoing(repo, headcommon, headmissing)
-  >             cg = changegroup.getlocalchangegroup(repo, 'test:bundle2', outgoing)
+  >             cg = changegroup.getchangegroup(repo, 'test:bundle2', outgoing)
   >             bundler.newpart('changegroup', data=cg.getchunks(),
   >                             mandatory=False)
   >