Mercurial > hg-stable
changeset 50365:d1d458fb96a5 stable
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 03 May 2023 00:12:34 +0200 |
parents | f930af431193 |
children | a445194f0a4d |
files | mercurial/vfs.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)