Show More
@@ -1474,6 +1474,12 b' class TTest(Test):' | |||||
1474 | script.append(b'alias pwd="pwd -W"\n') |
|
1474 | script.append(b'alias pwd="pwd -W"\n') | |
1475 |
|
1475 | |||
1476 | if hgcatapult and hgcatapult != os.devnull: |
|
1476 | if hgcatapult and hgcatapult != os.devnull: | |
|
1477 | if PYTHON3: | |||
|
1478 | hgcatapult = hgcatapult.encode('utf8') | |||
|
1479 | cataname = self.name.encode('utf8') | |||
|
1480 | else: | |||
|
1481 | cataname = self.name | |||
|
1482 | ||||
1477 | # Kludge: use a while loop to keep the pipe from getting |
|
1483 | # Kludge: use a while loop to keep the pipe from getting | |
1478 | # closed by our echo commands. The still-running file gets |
|
1484 | # closed by our echo commands. The still-running file gets | |
1479 | # reaped at the end of the script, which causes the while |
|
1485 | # reaped at the end of the script, which causes the while | |
@@ -1490,9 +1496,9 b' class TTest(Test):' | |||||
1490 | b'HGCATAPULTSESSION=%(session)s ; export HGCATAPULTSESSION\n' |
|
1496 | b'HGCATAPULTSESSION=%(session)s ; export HGCATAPULTSESSION\n' | |
1491 | b'echo START %(session)s %(name)s >> %(catapult)s\n' |
|
1497 | b'echo START %(session)s %(name)s >> %(catapult)s\n' | |
1492 | % { |
|
1498 | % { | |
1493 |
'name': |
|
1499 | b'name': cataname, | |
1494 | 'session': session, |
|
1500 | b'session': session, | |
1495 | 'catapult': hgcatapult, |
|
1501 | b'catapult': hgcatapult, | |
1496 | } |
|
1502 | } | |
1497 | ) |
|
1503 | ) | |
1498 |
|
1504 |
General Comments 0
You need to be logged in to leave comments.
Login now