##// END OF EJS Templates
store: do not record file that are not part of a revlog in fncache...
marmoute -
r51360:0dbab42a default
parent child Browse files
Show More
@@ -732,8 +732,10 b' class _fncachevfs(vfsmod.proxyvfs):'
732
732
733 def __call__(self, path, mode=b'r', *args, **kw):
733 def __call__(self, path, mode=b'r', *args, **kw):
734 encoded = self.encode(path)
734 encoded = self.encode(path)
735 if mode not in (b'r', b'rb') and (
735 if (
736 path.startswith(b'data/') or path.startswith(b'meta/')
736 mode not in (b'r', b'rb')
737 and (path.startswith(b'data/') or path.startswith(b'meta/'))
738 and revlog_type(path) is not None
737 ):
739 ):
738 # do not trigger a fncache load when adding a file that already is
740 # do not trigger a fncache load when adding a file that already is
739 # known to exist.
741 # known to exist.
General Comments 0
You need to be logged in to leave comments. Login now