##// END OF EJS Templates
scmutil: delegate mustaudit property to the real opener...
Bryan O'Sullivan -
r17555:57eba815 default
parent child Browse files
Show More
@@ -373,6 +373,14 b' class _fncacheopener(scmutil.abstractope'
373 373 self.fncache = fnc
374 374 self.encode = encode
375 375
376 def _getmustaudit(self):
377 return self.opener.mustaudit
378
379 def _setmustaudit(self, onoff):
380 self.opener.mustaudit = onoff
381
382 mustaudit = property(_getmustaudit, _setmustaudit)
383
376 384 def __call__(self, path, mode='r', *args, **kw):
377 385 if mode not in ('r', 'rb') and path.startswith('data/'):
378 386 self.fncache.add(path)
General Comments 0
You need to be logged in to leave comments. Login now