changeset 41495:ef29b6b8768c

py3: byteify the --retest path of run-tests.py
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 31 Jan 2019 21:54:38 -0500
parents fa7d4e6a0c98
children e095a9688a31
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: