mercurial/manifest.py
changeset 38510 561a450c7b64
parent 38331 cf59de802883
child 38530 c82ea938efbb
--- a/mercurial/manifest.py	Sat Jun 30 15:51:04 2018 -0700
+++ b/mercurial/manifest.py	Sat Jun 30 16:06:05 2018 -0700
@@ -1287,7 +1287,7 @@
         self._dirmancache = {}
         self._dirmancache[''] = util.lrucachedict(cachesize)
 
-        self.cachesize = cachesize
+        self._cachesize = cachesize
 
     def __getitem__(self, node):
         """Retrieves the manifest instance for the given node. Throws a
@@ -1333,7 +1333,7 @@
         if node != revlog.nullid:
             mancache = self._dirmancache.get(dir)
             if not mancache:
-                mancache = util.lrucachedict(self.cachesize)
+                mancache = util.lrucachedict(self._cachesize)
                 self._dirmancache[dir] = mancache
             mancache[node] = m
         return m