mercurial/commands.py
changeset 32165 30b9a7b96448
parent 32150 282b288aa20c
child 32169 aeb060dd7ac9
--- 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)