py3: byteify the --retest path of run-tests.py
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 31 Jan 2019 21:54:38 -0500
changeset 41495 ef29b6b8768c
parent 41494 fa7d4e6a0c98
child 41496 e095a9688a31
py3: byteify the --retest path of run-tests.py
tests/run-tests.py
--- a/tests/run-tests.py	Wed Jan 30 19:18:20 2019 -0500
+++ b/tests/run-tests.py	Thu Jan 31 21:54:38 2019 -0500
@@ -2772,8 +2772,8 @@
         """
         if not args:
             if self.options.changed:
-                proc = Popen4('hg st --rev "%s" -man0 .' %
-                              self.options.changed, None, 0)
+                proc = Popen4(b'hg st --rev "%s" -man0 .' %
+                              _bytespath(self.options.changed), None, 0)
                 stdout, stderr = proc.communicate()
                 args = stdout.strip(b'\0').split(b'\0')
             else: