# HG changeset patch # User Matt Harbison # Date 2019-02-01 02:54:38 # Node ID ef29b6b8768c07051db65eed70221090b61c3ad9 # Parent fa7d4e6a0c986c02485c632798c68d8ccc03c8bf py3: byteify the --retest path of run-tests.py diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -2772,8 +2772,8 @@ class TestRunner(object): """ 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: