# HG changeset patch # User Matt Harbison # Date 1570933337 14400 # 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 -r ce20b870041f -r 2d1f9880af1b hgext/fix.py --- a/hgext/fix.py Fri Oct 11 18:56:59 2019 -0700 +++ b/hgext/fix.py Sat Oct 12 22:22:17 2019 -0400 @@ -631,7 +631,7 @@ 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,