1935 e = (offset_type(offset, flags), deltainfo.deltalen, textlen, |
1935 e = (offset_type(offset, flags), deltainfo.deltalen, textlen, |
1936 deltainfo.base, link, p1r, p2r, node) |
1936 deltainfo.base, link, p1r, p2r, node) |
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) |
1943 |
1948 |
1944 rawtext = btext[0] |
1949 rawtext = btext[0] |