# HG changeset patch # User Matt Harbison # Date 2019-10-13 02:22:17 # Node ID 2d1f9880af1bd5459f708ebed63298a260443eba # Parent ce20b870041fc4d6ba6989acbb9373797ce9b3d6 py3: convert cwd to native string when running `fix` This prevents a bunch of failures on Windows. Differential Revision: https://phab.mercurial-scm.org/D7079 diff --git a/hgext/fix.py b/hgext/fix.py --- a/hgext/fix.py +++ b/hgext/fix.py @@ -631,7 +631,7 @@ def fixfile(ui, repo, opts, fixers, fixc proc = subprocess.Popen( procutil.tonativestr(command), shell=True, - cwd=repo.root, + cwd=procutil.tonativestr(repo.root), stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE,