##// END OF EJS Templates
manifest: use fulltextcache instead of _fulltextcache...
Gregory Szorc -
r39358:5886384d default
parent child Browse files
Show More
@@ -1642,13 +1642,12 b' class manifestctx(object):'
1642 self._data = manifestdict()
1642 self._data = manifestdict()
1643 else:
1643 else:
1644 store = self._storage()
1644 store = self._storage()
1645 # TODO accessing non-public API.
1645 if self._node in store.fulltextcache:
1646 if self._node in store._fulltextcache:
1646 text = pycompat.bytestr(store.fulltextcache[self._node])
1647 text = pycompat.bytestr(store._fulltextcache[self._node])
1648 else:
1647 else:
1649 text = store.revision(self._node)
1648 text = store.revision(self._node)
1650 arraytext = bytearray(text)
1649 arraytext = bytearray(text)
1651 store._fulltextcache[self._node] = arraytext
1650 store.fulltextcache[self._node] = arraytext
1652 self._data = manifestdict(text)
1651 self._data = manifestdict(text)
1653 return self._data
1652 return self._data
1654
1653
General Comments 0
You need to be logged in to leave comments. Login now