# HG changeset patch # User Matt Harbison # Date 1548989678 18000 # Node ID ef29b6b8768c07051db65eed70221090b61c3ad9 # Parent fa7d4e6a0c986c02485c632798c68d8ccc03c8bf py3: byteify the --retest path of run-tests.py diff -r fa7d4e6a0c98 -r ef29b6b8768c 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: