Mercurial > hg
changeset 50996:82bc0b26db50
openvms: mark symlink as unsupported on OpenVMS
OpenVMS's symlink emulation is broken on some OpenVMS versions, so we better
disable them altogether for now.
author | Jean-Francois Pieronne <jf.pieronne@laposte.net> |
---|---|
date | Thu, 03 Aug 2023 02:34:17 +0200 |
parents | 80c243eab724 |
children | def6f1a4604b |
files | mercurial/posix.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/posix.py Thu Aug 03 02:28:52 2023 +0200 +++ b/mercurial/posix.py Thu Aug 03 02:34:17 2023 +0200 @@ -553,6 +553,12 @@ return False +if pycompat.sysplatform == b'OpenVMS': + # OpenVMS's symlink emulation is broken on some OpenVMS versions. + def checklink(path): + return False + + _needsshellquote: Optional[Match[bytes]] = None