mercurial/posix.py
changeset 24596 75ea27f1711d
parent 24595 136ab89d61cb
child 24692 144883a8d0d4
equal deleted inserted replaced
24595:136ab89d61cb 24596:75ea27f1711d
   309             if path[mplen] == os.sep:
   309             if path[mplen] == os.sep:
   310                 return mp + encoding.upper(path[mplen:])
   310                 return mp + encoding.upper(path[mplen:])
   311 
   311 
   312         return encoding.upper(path)
   312         return encoding.upper(path)
   313 
   313 
       
   314     normcasespec = encoding.normcasespecs.other
       
   315     normcasefallback = normcase
       
   316 
   314     # Cygwin translates native ACLs to POSIX permissions,
   317     # Cygwin translates native ACLs to POSIX permissions,
   315     # but these translations are not supported by native
   318     # but these translations are not supported by native
   316     # tools, so the exec bit tends to be set erroneously.
   319     # tools, so the exec bit tends to be set erroneously.
   317     # Therefore, disable executable bit access on Cygwin.
   320     # Therefore, disable executable bit access on Cygwin.
   318     def checkexec(path):
   321     def checkexec(path):