changeset 32215:42efb1b2cfb8

exchange: directly 'getchangegroup' It is identical to 'getlocalchangegroup' with a shorter name.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 04 May 2017 12:41:36 +0200
parents 30b9a7b96448
children d62626233aa2
files mercurial/exchange.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/exchange.py	Thu May 04 12:41:17 2017 +0200
+++ b/mercurial/exchange.py	Thu May 04 12:41:36 2017 +0200
@@ -950,7 +950,7 @@
                                    'push',
                                    fastpath=True)
     else:
-        cg = changegroup.getlocalchangegroup(pushop.repo, 'push', outgoing)
+        cg = changegroup.getchangegroup(pushop.repo, 'push', outgoing)
 
     # apply changegroup to remote
     if unbundle: