Mercurial > hg
changeset 26702:ec182d109dce
localrepo: use cg?unpacker.apply() instead of changegroup.addchangegroup()
This is in localpeer, so it lives. Had it been in localrepo instead, I
would have tried to exterminate it.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 13 Oct 2015 17:14:07 -0400 |
parents | b1a0c534d9b4 |
children | 2b16ffcd3c4e |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Tue Oct 13 17:12:46 2015 -0400 +++ b/mercurial/localrepo.py Tue Oct 13 17:14:07 2015 -0400 @@ -159,7 +159,7 @@ return self._repo.lock() def addchangegroup(self, cg, source, url): - return changegroup.addchangegroup(self._repo, 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)