[PATCH 2 of 3 FOLLOW-UP] vfs: handle _auditpath in proxyvfs
Boris Feld
boris.feld at octobus.net
Wed Jan 2 06:29:28 EST 2019
# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1546421376 -3600
# Wed Jan 02 10:29:36 2019 +0100
# Node ID 9b2299aff37aeacb31261f8d224f4b754e91e503
# Parent b33239d75ded3c23d46fe50bb04e0dd3aac9ef9b
# EXP-Topic vfs-audit
# Available At https://bitbucket.org/octobus/mercurial-devel/
# hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 9b2299aff37a
vfs: handle _auditpath in proxyvfs
Just forward the call to the underlying vfs.
diff --git a/mercurial/vfs.py b/mercurial/vfs.py
--- a/mercurial/vfs.py
+++ b/mercurial/vfs.py
@@ -473,6 +473,9 @@ class proxyvfs(abstractvfs):
def __init__(self, vfs):
self.vfs = vfs
+ def _auditpath(self, path, mode):
+ return self.vfs._auditpath(path, mode)
+
@property
def options(self):
return self.vfs.options
More information about the Mercurial-devel
mailing list