proxy-vfs: also proxy the `audit` attribute
In the previous changeset, we had to do a little dance to access the useful
`audit` attribute. We now provide a proper accessors to it.
We don't update the code in `perf.py` because it has to remain compatible with
older version of Mercurial. This will just be nicer in the future.
--- a/mercurial/vfs.py Sat Apr 13 23:40:28 2024 +0200
+++ b/mercurial/vfs.py Sun Apr 14 02:27:10 2024 +0200
@@ -616,6 +616,10 @@
def options(self, value):
self.vfs.options = value
+ @property
+ def audit(self):
+ return self.vfs.audit
+
class filtervfs(proxyvfs, abstractvfs):
'''Wrapper vfs for filtering filenames with a function.'''