Show More
@@ -421,7 +421,6 b' class revlog(object):' | |||||
421 | # Mapping of partial identifiers to full nodes. |
|
421 | # Mapping of partial identifiers to full nodes. | |
422 | self._pcache = {} |
|
422 | self._pcache = {} | |
423 | # Mapping of revision integer to full node. |
|
423 | # Mapping of revision integer to full node. | |
424 | self._nodepos = None |
|
|||
425 | self._compengine = b'zlib' |
|
424 | self._compengine = b'zlib' | |
426 | self._compengineopts = {} |
|
425 | self._compengineopts = {} | |
427 | self._maxdeltachainspan = -1 |
|
426 | self._maxdeltachainspan = -1 | |
@@ -2223,11 +2222,6 b' class revlog(object):' | |||||
2223 | ) |
|
2222 | ) | |
2224 | self.index.append(e) |
|
2223 | self.index.append(e) | |
2225 |
|
2224 | |||
2226 | # Reset the pure node cache start lookup offset to account for new |
|
|||
2227 | # revision. |
|
|||
2228 | if self._nodepos is not None: |
|
|||
2229 | self._nodepos = curr |
|
|||
2230 |
|
||||
2231 | entry = self._io.packentry(e, self.node, self.version, curr) |
|
2225 | entry = self._io.packentry(e, self.node, self.version, curr) | |
2232 | self._writeentry( |
|
2226 | self._writeentry( | |
2233 | transaction, ifh, dfh, entry, deltainfo.data, link, offset |
|
2227 | transaction, ifh, dfh, entry, deltainfo.data, link, offset | |
@@ -2462,7 +2456,6 b' class revlog(object):' | |||||
2462 | self._chunkclear() |
|
2456 | self._chunkclear() | |
2463 |
|
2457 | |||
2464 | del self.index[rev:-1] |
|
2458 | del self.index[rev:-1] | |
2465 | self._nodepos = None |
|
|||
2466 |
|
2459 | |||
2467 | def checksize(self): |
|
2460 | def checksize(self): | |
2468 | """Check size of index and data files |
|
2461 | """Check size of index and data files |
General Comments 0
You need to be logged in to leave comments.
Login now