# HG changeset patch # User Pierre-Yves David # Date 1683065554 -7200 # Node ID d1d458fb96a5200cd7d847c1effa2c0577e14435 # Parent f930af4311938c03b7bb5dc126d9a69725332eec vfsproxy: inherit the `createmode` attribute too It is an important part of the API when creating directory. We will need it in the next changeset. diff -r f930af431193 -r d1d458fb96a5 mercurial/vfs.py --- a/mercurial/vfs.py Tue May 02 21:43:45 2023 +0200 +++ b/mercurial/vfs.py Wed May 03 00:12:34 2023 +0200 @@ -599,6 +599,10 @@ def __init__(self, vfs: "vfs"): self.vfs = vfs + @property + def createmode(self): + return self.vfs.createmode + def _auditpath(self, path, mode): return self.vfs._auditpath(path, mode)