[PATCH 3 of 7] exchange: directly 'getchangegroup'
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Fri May 5 02:26:53 EDT 2017
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at 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.
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:
More information about the Mercurial-devel
mailing list