# HG changeset patch # User Pierre-Yves David # Date 1713054430 -7200 # Node ID b5500857e173e3df922d703df1269d2809598995 # Parent 24844407fa0d1249ec465e162820aaf85f8790cc 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. diff -r 24844407fa0d -r b5500857e173 mercurial/vfs.py --- 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.'''