equal
deleted
inserted
replaced
324 |
324 |
325 elif isinstance(bundle, changegroup.cg1unpacker): |
325 elif isinstance(bundle, changegroup.cg1unpacker): |
326 self._handle_bundle1(bundle, bundlepath) |
326 self._handle_bundle1(bundle, bundlepath) |
327 else: |
327 else: |
328 raise error.Abort( |
328 raise error.Abort( |
329 _(b'bundle type %s cannot be read') % type(bundle) |
329 _(b'bundle type %r cannot be read') % type(bundle) |
330 ) |
330 ) |
331 |
331 |
332 def _handle_bundle1(self, bundle, bundlepath): |
332 def _handle_bundle1(self, bundle, bundlepath): |
333 if bundle.compressed(): |
333 if bundle.compressed(): |
334 f = self._writetempbundle(bundle.read, b'.hg10un', header=b'HG10UN') |
334 f = self._writetempbundle(bundle.read, b'.hg10un', header=b'HG10UN') |