# HG changeset patch # User Pierre-Yves David # Date 1493894477 -7200 # Node ID 30b9a7b96448c04a698ff8ca6316a2db3caa70bc # Parent 29e286fa4db044a35fc7703b6634f86837e20ce8 commands: directly 'getchangegroup' It is identical to 'getlocalchangegroup' with a shorter name. diff -r 29e286fa4db0 -r 30b9a7b96448 mercurial/commands.py --- 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)