equal
deleted
inserted
replaced
464 if self.version == REVLOGV0: |
464 if self.version == REVLOGV0: |
465 self._io = revlogoldio() |
465 self._io = revlogoldio() |
466 if i: |
466 if i: |
467 try: |
467 try: |
468 d = self._io.parseindex(f, i, self._inline) |
468 d = self._io.parseindex(f, i, self._inline) |
469 except (ValueError, IndexError), e: |
469 except (ValueError, IndexError): |
470 raise RevlogError(_("index %s is corrupted") % (self.indexfile)) |
470 raise RevlogError(_("index %s is corrupted") % (self.indexfile)) |
471 self.index, self.nodemap, self._chunkcache = d |
471 self.index, self.nodemap, self._chunkcache = d |
472 if not self._chunkcache: |
472 if not self._chunkcache: |
473 self._chunkclear() |
473 self._chunkclear() |
474 |
474 |