changeset 43193:2d1f9880af1b

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
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 12 Oct 2019 22:22:17 -0400
parents ce20b870041f
children 138ac8cbce60
files hgext/fix.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,