# HG changeset patch
# User Pierre-Yves David <pierre-yves.da...@octobus.net>
# Date 1493894477 -7200
#      Thu May 04 12:41:17 2017 +0200
# Node ID e2353365f77d400c358f2bab4677d5c213f9eee4
# Parent  e27efdd66b0671a5a4c6facdbab52f05ad780f1f
# 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 e2353365f77d
commands: directly 'getchangegroup'

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

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1370,7 +1370,7 @@ def bundle(ui, repo, fname, dest=None, *
                                                 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)
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to