changegroup: delete getlocalchangegroup
authorDurham Goode <durham@fb.com>
Sun, 10 Sep 2017 18:47:39 -0700
changeset 34099 6097a616178d
parent 34098 d8245139e720
child 34100 1632999d4bed
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
mercurial/changegroup.py
--- 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,