changeset 29714:69109052d9ac

auditvfs: forward options property from nested vfs This was breaking my ability to use treemanifests in bundlerepos, and was deeply mysterious. We should probably just make the options property a formal part of the vfs API, and make it a required construction parameter. Sadly, I don't have time to dive into that refactor right now.
author Augie Fackler <augie@google.com>
date Fri, 05 Aug 2016 11:19:22 -0400
parents 43924f3a55fa
children 55d341877316
files mercurial/scmutil.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/scmutil.py	Thu Aug 04 14:13:35 2016 -0400
+++ b/mercurial/scmutil.py	Fri Aug 05 11:19:22 2016 -0400
@@ -638,6 +638,14 @@
     def mustaudit(self, onoff):
         self.vfs.mustaudit = onoff
 
+    @property
+    def options(self):
+        return self.vfs.options
+
+    @options.setter
+    def options(self, value):
+        self.vfs.options = value
+
 class filtervfs(abstractvfs, auditvfs):
     '''Wrapper vfs for filtering filenames with a function.'''