--- a/mercurial/encoding.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/encoding.py Thu Jul 18 12:36:12 2024 +0200 @@ -367,7 +367,6 @@ cwd = cwd[0:1].upper() + cwd[1:] return cwd - else: getcwd = os.getcwdb # re-exports