Show More
@@ -319,7 +319,9 class bundlerepository(localrepo.localre | |||
|
319 | 319 | [ctx.node() for ctx in self[self.firstnewrev:]]) |
|
320 | 320 | |
|
321 | 321 | def _handlebundle2part(self, bundle, part): |
|
322 |
if part.type |
|
|
322 | if part.type != 'changegroup': | |
|
323 | return | |
|
324 | ||
|
323 | 325 |
|
|
324 | 326 |
|
|
325 | 327 |
|
@@ -327,11 +329,9 class bundlerepository(localrepo.localre | |||
|
327 | 329 |
|
|
328 | 330 |
|
|
329 | 331 |
|
|
330 |
|
|
|
331 | ".cg%sun" % version) | |
|
332 | cgstream = self._writetempbundle(part.read, '.cg%sun' % version) | |
|
332 | 333 | |
|
333 |
|
|
|
334 | 'UN') | |
|
334 | self._cgunpacker = changegroup.getunbundler(version, cgstream, 'UN') | |
|
335 | 335 | |
|
336 | 336 | def _writetempbundle(self, readfn, suffix, header=''): |
|
337 | 337 | """Write a temporary file to disk |
General Comments 0
You need to be logged in to leave comments.
Login now