Patchwork [4,of,7] tests: directly 'getchangegroup'

login
register
mail settings
Submitter Pierre-Yves David
Date May 5, 2017, 6:26 a.m.
Message ID <1e8427b7d0b9ce66c5ba.1493965614@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/20455/
State Accepted
Headers show

Comments

Pierre-Yves David - May 5, 2017, 6:26 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1493894510 -7200
#      Thu May 04 12:41:50 2017 +0200
# Node ID 1e8427b7d0b9ce66c5ba34c2cdb64821ff909267
# Parent  0f0cdb08e98f2128829cb6f2f8e7a3743e6fb18e
# EXP-Topic changegroup.cleanup
# Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
#              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 1e8427b7d0b9
tests: directly 'getchangegroup'

It is identical to 'getlocalchangegroup' with a shorter name.

Patch

diff --git a/tests/test-bundle2-format.t b/tests/test-bundle2-format.t
--- a/tests/test-bundle2-format.t
+++ b/tests/test-bundle2-format.t
@@ -113,7 +113,7 @@  Create an extension to test bundle2 API
   >             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)
   >