# HG changeset patch # User Matt Mackall # Date 2012-03-08 21:59:47 # Node ID 60cc3a0d224972e0fca00fe93f0488b5e4a60c7c # Parent 95e45abe7e8ece5733a2d7e227feb9eb12bd5b59 posix: disable cygwin's symlink emulation diff --git a/mercurial/posix.py b/mercurial/posix.py --- a/mercurial/posix.py +++ b/mercurial/posix.py @@ -277,6 +277,12 @@ if sys.platform == 'cygwin': def checkexec(path): return False + # Similarly, Cygwin's symlink emulation is likely to create + # problems when Mercurial is used from both Cygwin and native + # Windows, with other native tools, or on shared volumes + def checklink(path): + return False + def shellquote(s): if os.sys.platform == 'OpenVMS': return '"%s"' % s