Show More
@@ -1352,7 +1352,11 b' class TTest(Test):' | |||
|
1352 | 1352 | if PYTHON3: |
|
1353 | 1353 | session = session.encode('ascii') |
|
1354 | 1354 | def toggletrace(cmd): |
|
1355 | quoted = shellquote(cmd.strip()).replace(b'\\', b'\\\\') | |
|
1355 | if isinstance(cmd, str): | |
|
1356 | quoted = shellquote(cmd.strip()) | |
|
1357 | else: | |
|
1358 | quoted = shellquote(cmd.strip().decode('utf8')).encode('utf8') | |
|
1359 | quoted = quoted.replace(b'\\', b'\\\\') | |
|
1356 | 1360 | if active: |
|
1357 | 1361 | script.append( |
|
1358 | 1362 | b'echo END %s %s >> "$HGCATAPULTSERVERPIPE"\n' % ( |
General Comments 0
You need to be logged in to leave comments.
Login now