##// END OF EJS Templates
revlog: update pure nodecache start lookup offset on insertion...
Gregory Szorc -
r40216:ba70e3ac default
parent child Browse files
Show More
@@ -1937,6 +1937,11 b' class revlog(object):'
1937 self.index.append(e)
1937 self.index.append(e)
1938 self.nodemap[node] = curr
1938 self.nodemap[node] = curr
1939
1939
1940 # Reset the pure node cache start lookup offset to account for new
1941 # revision.
1942 if self._nodepos is not None:
1943 self._nodepos = curr
1944
1940 entry = self._io.packentry(e, self.node, self.version, curr)
1945 entry = self._io.packentry(e, self.node, self.version, curr)
1941 self._writeentry(transaction, ifh, dfh, entry, deltainfo.data,
1946 self._writeentry(transaction, ifh, dfh, entry, deltainfo.data,
1942 link, offset)
1947 link, offset)
General Comments 0
You need to be logged in to leave comments. Login now