changegroup: delete getlocalchangegroup
As part of reducing the number of changegroup creation APIs, let's go ahead and
delete this unused function. It appears to have been deprecated in the last
release anyway.
Differential Revision: https://phab.mercurial-scm.org/D667
--- a/mercurial/changegroup.py Sun Sep 10 19:01:56 2017 -0700
+++ b/mercurial/changegroup.py Sun Sep 10 18:47:39 2017 -0700
@@ -951,11 +951,6 @@
return makechangegroup(repo, outgoing, version, source,
bundlecaps=bundlecaps)
-def getlocalchangegroup(repo, *args, **kwargs):
- repo.ui.deprecwarn('getlocalchangegroup is deprecated, use getchangegroup',
- '4.3')
- return getchangegroup(repo, *args, **kwargs)
-
def changegroup(repo, basenodes, source):
# to avoid a race we use changegroupsubset() (issue1320)
outgoing = discovery.outgoing(repo, missingroots=basenodes,