Show More
@@ -272,9 +272,9 b' class revlog(object):' | |||||
272 | d = self._io.parseindex(i, self._inline) |
|
272 | d = self._io.parseindex(i, self._inline) | |
273 | except (ValueError, IndexError): |
|
273 | except (ValueError, IndexError): | |
274 | raise RevlogError(_("index %s is corrupted") % (self.indexfile)) |
|
274 | raise RevlogError(_("index %s is corrupted") % (self.indexfile)) | |
275 | self.index, n, self._chunkcache = d |
|
275 | self.index, nodemap, self._chunkcache = d | |
276 | if n: |
|
276 | if nodemap is not None: | |
277 | self.nodemap = n |
|
277 | self.nodemap = nodemap | |
278 | self.rev = self._revmap |
|
278 | self.rev = self._revmap | |
279 | if not self._chunkcache: |
|
279 | if not self._chunkcache: | |
280 | self._chunkclear() |
|
280 | self._chunkclear() |
General Comments 0
You need to be logged in to leave comments.
Login now