changeset 16241:60cc3a0d2249

posix: disable cygwin's symlink emulation
author Matt Mackall <mpm@selenic.com>
date Thu, 08 Mar 2012 15:59:47 -0600
parents 95e45abe7e8e
children a18ad914aa21
files mercurial/posix.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/posix.py	Thu Mar 08 20:17:36 2012 +0000
+++ b/mercurial/posix.py	Thu Mar 08 15:59:47 2012 -0600
@@ -277,6 +277,12 @@
     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