mercurial/encoding.py
changeset 51699 ca7bde5dbafb
parent 51696 7f0cb9ee0534
child 51718 43adbe03079b
equal deleted inserted replaced
51698:b0a4de6c14f8 51699: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.