mercurial/windows.py
changeset 13890 31eb145b50b6
parent 13879 5b0a3f6cbead
child 13986 9c374cf76b7d
equal deleted inserted replaced
13889:9a96efc4af8a 13890:31eb145b50b6
   133     pass
   133     pass
   134 
   134 
   135 def checkexec(path):
   135 def checkexec(path):
   136     return False
   136     return False
   137 
   137 
       
   138 def checklink(path):
       
   139     return False
       
   140 
   138 def set_binary(fd):
   141 def set_binary(fd):
   139     # When run without console, pipes may expose invalid
   142     # When run without console, pipes may expose invalid
   140     # fileno(), usually set to -1.
   143     # fileno(), usually set to -1.
   141     if hasattr(fd, 'fileno') and fd.fileno() >= 0:
   144     if hasattr(fd, 'fileno') and fd.fileno() >= 0:
   142         msvcrt.setmode(fd.fileno(), os.O_BINARY)
   145         msvcrt.setmode(fd.fileno(), os.O_BINARY)