Mercurial > hg
changeset 51593:b5500857e173
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 14 Apr 2024 02:27:10 +0200 |
parents | 24844407fa0d |
children | e3a5ec2d236a |
files | mercurial/vfs.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.'''