Mercurial > hg
changeset 33175:3b85c474cbcf
manifest: apply checkambig=True only for root 00manifest.i
This is a fix for my 14ad8e2a4abe, which used 'bool(dir)' as
checkambig value for revlog.__init__().
I can't remember why I did so in 14ad8e2a4abe, but this is obviously
wrong, because only root indexfile is cached via filecache-ed property
of localrepository.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 30 Jun 2017 01:47:48 +0900 |
parents | f4f52bb362e6 |
children | edb7f628ef8b |
files | mercurial/manifest.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):