mercurial/store.py
branchstable
changeset 17845 408ded42c5ec
parent 17784 73e1ab39792c
child 18054 b35e3364f94a
--- a/mercurial/store.py	Fri Oct 19 14:47:55 2012 -0500
+++ b/mercurial/store.py	Mon Oct 22 11:59:11 2012 -0700
@@ -436,20 +436,12 @@
             self._load()
         return iter(self.entries)
 
-class _fncachevfs(scmutil.abstractvfs):
+class _fncachevfs(scmutil.abstractvfs, scmutil.auditvfs):
     def __init__(self, vfs, fnc, encode):
-        self.vfs = vfs
+        scmutil.auditvfs.__init__(self, vfs)
         self.fncache = fnc
         self.encode = encode
 
-    def _getmustaudit(self):
-        return self.vfs.mustaudit
-
-    def _setmustaudit(self, onoff):
-        self.vfs.mustaudit = onoff
-
-    mustaudit = property(_getmustaudit, _setmustaudit)
-
     def __call__(self, path, mode='r', *args, **kw):
         if mode not in ('r', 'rb') and path.startswith('data/'):
             self.fncache.add(path)