Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/localrepo.py @ 32889:6fa245f80b6f
localrepo: remove unused addchangegroup() (API)
This completes the cleanup started in d3775db748a0 (localrepo: move
the addchangegroup method in changegroup module, 2014-04-01).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 15 Jun 2017 15:13:18 -0700 |
parents | 2083d1643d69 |
children | 05c213cd8ab8 |
comparison
equal
deleted
inserted
replaced
32888:b441296f8e9c | 32889:6fa245f80b6f |
---|---|
209 except error.PushRaced as exc: | 209 except error.PushRaced as exc: |
210 raise error.ResponseError(_('push failed:'), str(exc)) | 210 raise error.ResponseError(_('push failed:'), str(exc)) |
211 | 211 |
212 def lock(self): | 212 def lock(self): |
213 return self._repo.lock() | 213 return self._repo.lock() |
214 | |
215 def addchangegroup(self, cg, source, url): | |
216 return cg.apply(self._repo, source, url) | |
217 | 214 |
218 def pushkey(self, namespace, key, old, new): | 215 def pushkey(self, namespace, key, old, new): |
219 return self._repo.pushkey(namespace, key, old, new) | 216 return self._repo.pushkey(namespace, key, old, new) |
220 | 217 |
221 def listkeys(self, namespace): | 218 def listkeys(self, namespace): |