mercurial/manifest.py
changeset 39322 5886384d1ac5
parent 39321 52860f52ed13
child 39515 93486cc46125
--- a/mercurial/manifest.py	Wed Aug 15 19:58:06 2018 +0000
+++ b/mercurial/manifest.py	Wed Aug 15 20:23:45 2018 +0000
@@ -1642,13 +1642,12 @@
                 self._data = manifestdict()
             else:
                 store = self._storage()
-                # TODO accessing non-public API.
-                if self._node in store._fulltextcache:
-                    text = pycompat.bytestr(store._fulltextcache[self._node])
+                if self._node in store.fulltextcache:
+                    text = pycompat.bytestr(store.fulltextcache[self._node])
                 else:
                     text = store.revision(self._node)
                     arraytext = bytearray(text)
-                    store._fulltextcache[self._node] = arraytext
+                    store.fulltextcache[self._node] = arraytext
                 self._data = manifestdict(text)
         return self._data