changeset 34099:6097a616178d

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
author Durham Goode <durham@fb.com>
date Sun, 10 Sep 2017 18:47:39 -0700
parents d8245139e720
children 1632999d4bed
files mercurial/changegroup.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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,