fix: use C.UTF-8 instead of C locale for svn subprocess (breaks non-ASCII filenames)
This commit is contained in:
@@ -96,7 +96,7 @@ def _run_svn(args: list, input: bytes = None, timeout: int = 120,
|
||||
"""Run an svn command. If *wc* is given, run from that directory."""
|
||||
if auth_args:
|
||||
args = auth_args + args
|
||||
env = {**os.environ, "LC_ALL": "C"}
|
||||
env = {**os.environ, "LC_ALL": "C.UTF-8"}
|
||||
try:
|
||||
r = subprocess.run(
|
||||
["svn"] + args,
|
||||
|
||||
Reference in New Issue
Block a user