# HG changeset patch # User Pierre-Yves David # Date 2023-05-02 22:12:34 # 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 --git a/mercurial/vfs.py b/mercurial/vfs.py --- a/mercurial/vfs.py +++ b/mercurial/vfs.py @@ -599,6 +599,10 @@ class proxyvfs(abstractvfs): 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)