equal
deleted
inserted
replaced
140 if not self.lock: |
140 if not self.lock: |
141 self.sendresponse("not locked") |
141 self.sendresponse("not locked") |
142 return |
142 return |
143 |
143 |
144 self.sendresponse("") |
144 self.sendresponse("") |
145 cg = changegroup.unbundle10(self.fin, "UN") |
145 cg = changegroup.cg1unpacker(self.fin, "UN") |
146 r = changegroup.addchangegroup(self.repo, cg, 'serve', self._client()) |
146 r = changegroup.addchangegroup(self.repo, cg, 'serve', self._client()) |
147 self.lock.release() |
147 self.lock.release() |
148 return str(r) |
148 return str(r) |
149 |
149 |
150 def _client(self): |
150 def _client(self): |