Patchwork [3,of,7] exchange: directly 'getchangegroup'

login
register
mail settings
Submitter Pierre-Yves David
Date May 5, 2017, 6:26 a.m.
Message ID <0f0cdb08e98f2128829c.1493965613@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/20451/
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 1493894496 -7200
#      Thu May 04 12:41:36 2017 +0200
# Node ID 0f0cdb08e98f2128829cb6f2f8e7a3743e6fb18e
# Parent  e2353365f77d400c358f2bab4677d5c213f9eee4
# 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 0f0cdb08e98f
exchange: directly 'getchangegroup'

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

Patch

diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -950,7 +950,7 @@  def _pushchangeset(pushop):
                                    'push',
                                    fastpath=True)
     else:
-        cg = changegroup.getlocalchangegroup(pushop.repo, 'push', outgoing)
+        cg = changegroup.getchangegroup(pushop.repo, 'push', outgoing)
 
     # apply changegroup to remote
     if unbundle: