changeset 32165:30b9a7b96448

commands: 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:17 +0200
parents 29e286fa4db0
children 42efb1b2cfb8
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu May 04 12:36:45 2017 +0200
+++ b/mercurial/commands.py	Thu May 04 12:41:17 2017 +0200
@@ -1370,7 +1370,7 @@
                                                 onlyheads=heads,
                                                 force=opts.get('force'),
                                                 portable=True)
-        cg = changegroup.getlocalchangegroup(repo, 'bundle', outgoing,
+        cg = changegroup.getchangegroup(repo, 'bundle', outgoing,
                                              version=cgversion)
     if not cg:
         scmutil.nochangesfound(ui, repo, outgoing and outgoing.excluded)