D667: changegroup: delete getlocalchangegroup
durham (Durham Goode)
phabricator at mercurial-scm.org
Mon Sep 11 02:07:15 UTC 2017
durham created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
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.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D667
AFFECTED FILES
mercurial/changegroup.py
CHANGE DETAILS
diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -938,11 +938,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,
To: durham, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list