D7079: py3: convert cwd to native string when running `fix`

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Sun Oct 13 02:10:57 EDT 2019


Closed by commit rHG2d1f9880af1b: py3: convert cwd to native string when running `fix` (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7079?vs=17121&id=17124

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7079/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7079

AFFECTED FILES
  hgext/fix.py

CHANGE DETAILS

diff --git a/hgext/fix.py b/hgext/fix.py
--- a/hgext/fix.py
+++ b/hgext/fix.py
@@ -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,



To: mharbison72, #hg-reviewers, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list