# HG changeset patch # User Martin von Zweigbergk # Date 1497564798 25200 # Node ID 6fa245f80b6f84deb3345bda2e096925e2372f4b # Parent b441296f8e9cf428d4902637d864f9ff7949ab5a localrepo: remove unused addchangegroup() (API) This completes the cleanup started in d3775db748a0 (localrepo: move the addchangegroup method in changegroup module, 2014-04-01). diff -r b441296f8e9c -r 6fa245f80b6f 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)