diff -r 80c243eab724 -r 82bc0b26db50 mercurial/posix.py --- 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