localrepo: remove unused addchangegroup() (API)
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 15 Jun 2017 15:13:18 -0700
changeset 32889 6fa245f80b6f
parent 32888 b441296f8e9c
child 32890 9fcb6df413c9
localrepo: remove unused addchangegroup() (API) This completes the cleanup started in d3775db748a0 (localrepo: move the addchangegroup method in changegroup module, 2014-04-01).
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Thu Jun 15 13:47:54 2017 -0700
+++ b/mercurial/localrepo.py	Thu Jun 15 15:13:18 2017 -0700
@@ -212,9 +212,6 @@
     def lock(self):
         return self._repo.lock()
 
-    def addchangegroup(self, cg, source, url):
-        return cg.apply(self._repo, source, url)
-
     def pushkey(self, namespace, key, old, new):
         return self._repo.pushkey(namespace, key, old, new)