# HG changeset patch # User Augie Fackler # Date 2016-08-05 15:19:22 # Node ID 69109052d9ac8a5ad117057eba6823becd37728a # Parent 43924f3a55fa5a3f0fb886d79693c7f9a446db92 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. diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -638,6 +638,14 @@ class auditvfs(object): 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.'''