Mercurial > hg
comparison mercurial/encoding.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
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 | |
369 | 370 |
370 else: | 371 else: |
371 getcwd = os.getcwdb # re-exports | 372 getcwd = os.getcwdb # re-exports |
372 | 373 |
373 # How to treat ambiguous-width characters. Set to 'wide' to treat as wide. | 374 # How to treat ambiguous-width characters. Set to 'wide' to treat as wide. |