Show More
@@ -16,5 +16,9 b' for i, arg in enumerate(sys.argv[1:]):' | |||||
16 | log.write(" %d:%s" % (i+1, arg)) |
|
16 | log.write(" %d:%s" % (i+1, arg)) | |
17 | log.write("\n") |
|
17 | log.write("\n") | |
18 | log.close() |
|
18 | log.close() | |
19 |
|
|
19 | hgcmd = sys.argv[2] | |
|
20 | if os.name == 'nt': | |||
|
21 | # hack to make simple unix single quote quoting work on windows | |||
|
22 | hgcmd = hgcmd.replace("'", '"') | |||
|
23 | r = os.system(hgcmd) | |||
20 | sys.exit(bool(r)) |
|
24 | sys.exit(bool(r)) |
General Comments 0
You need to be logged in to leave comments.
Login now