mercurial/manifest.py
changeset 33175 3b85c474cbcf
parent 32550 b98199a5c3e1
child 34296 3c9691728237
--- a/mercurial/manifest.py	Sat Jul 01 19:35:17 2017 -0700
+++ b/mercurial/manifest.py	Fri Jun 30 01:47:48 2017 +0900
@@ -1230,7 +1230,8 @@
             self._dirlogcache = {'': self}
 
         super(manifestrevlog, self).__init__(opener, indexfile,
-                                             checkambig=bool(dir))
+                                             # only root indexfile is cached
+                                             checkambig=not bool(dir))
 
     @property
     def fulltextcache(self):