mercurial/encoding.py
changeset 51703 ca7bde5dbafb
parent 51700 7f0cb9ee0534
child 51722 43adbe03079b
equal deleted inserted replaced
51702:b0a4de6c14f8 51703:ca7bde5dbafb
   364         cwd = os.path.realpath(cwd)
   364         cwd = os.path.realpath(cwd)
   365         cwd = strtolocal(cwd)
   365         cwd = strtolocal(cwd)
   366         if DRIVE_RE.match(cwd):
   366         if DRIVE_RE.match(cwd):
   367             cwd = cwd[0:1].upper() + cwd[1:]
   367             cwd = cwd[0:1].upper() + cwd[1:]
   368         return cwd
   368         return cwd
   369 
       
   370 
   369 
   371 else:
   370 else:
   372     getcwd = os.getcwdb  # re-exports
   371     getcwd = os.getcwdb  # re-exports
   373 
   372 
   374 # How to treat ambiguous-width characters. Set to 'wide' to treat as wide.
   373 # How to treat ambiguous-width characters. Set to 'wide' to treat as wide.