# HG changeset patch # User Jean-Francois Pieronne # Date 2023-08-03 00:34:17 # Node ID 82bc0b26db501bfabc85a5def200458f6d6c9ee3 # Parent 80c243eab7245be34a3b1d25d71db86d6bc83b0e 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. diff --git a/mercurial/posix.py b/mercurial/posix.py --- a/mercurial/posix.py +++ b/mercurial/posix.py @@ -553,6 +553,12 @@ if pycompat.sysplatform == b'cygwin': 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