Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/localrepo.py @ 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 | 09bb1ee7e73e |
children | e1568d5eb052 |
comparison
equal
deleted
inserted
replaced
26701:b1a0c534d9b4 | 26702:ec182d109dce |
---|---|
157 | 157 |
158 def lock(self): | 158 def lock(self): |
159 return self._repo.lock() | 159 return self._repo.lock() |
160 | 160 |
161 def addchangegroup(self, cg, source, url): | 161 def addchangegroup(self, cg, source, url): |
162 return changegroup.addchangegroup(self._repo, cg, source, url) | 162 return cg.apply(self._repo, source, url) |
163 | 163 |
164 def pushkey(self, namespace, key, old, new): | 164 def pushkey(self, namespace, key, old, new): |
165 return self._repo.pushkey(namespace, key, old, new) | 165 return self._repo.pushkey(namespace, key, old, new) |
166 | 166 |
167 def listkeys(self, namespace): | 167 def listkeys(self, namespace): |