Show More
@@ -289,13 +289,16 b' class bundlerepository:' | |||
|
289 | 289 | |
|
290 | 290 | self.ui.setconfig(b'phases', b'publish', False, b'bundlerepo') |
|
291 | 291 | |
|
292 | # dict with the mapping 'filename' -> position in the changegroup. | |
|
293 | self._cgfilespos = {} | |
|
294 | self._bundlefile = None | |
|
295 | self._cgunpacker = None | |
|
292 | 296 | self.tempfile = None |
|
293 | 297 | f = util.posixfile(bundlepath, b"rb") |
|
294 | 298 | bundle = exchange.readbundle(self.ui, f, bundlepath) |
|
295 | 299 | |
|
296 | 300 | if isinstance(bundle, bundle2.unbundle20): |
|
297 | 301 | self._bundlefile = bundle |
|
298 | self._cgunpacker = None | |
|
299 | 302 | |
|
300 | 303 | cgpart = None |
|
301 | 304 | for part in bundle.iterparts(seekable=True): |
@@ -324,9 +327,6 b' class bundlerepository:' | |||
|
324 | 327 | _(b'bundle type %s cannot be read') % type(bundle) |
|
325 | 328 | ) |
|
326 | 329 | |
|
327 | # dict with the mapping 'filename' -> position in the changegroup. | |
|
328 | self._cgfilespos = {} | |
|
329 | ||
|
330 | 330 | self.firstnewrev = self.changelog.repotiprev + 1 |
|
331 | 331 | phases.retractboundary( |
|
332 | 332 | self, |
General Comments 0
You need to be logged in to leave comments.
Login now