Mercurial > hg
diff mercurial/vfs.py @ 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 | bc83ebe07bf0 |
children | f173c2c23289 |
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)