Show More
@@ -69,8 +69,13 b' cwd = os.path.dirname(os.environ["TESTDI' | |||||
69 | if not os.path.isdir(os.path.join(cwd, ".hg")): |
|
69 | if not os.path.isdir(os.path.join(cwd, ".hg")): | |
70 | sys.exit(0) |
|
70 | sys.exit(0) | |
71 |
|
71 | |||
|
72 | files_cmd = "hg files --print0 \"%s\"" % fileset | |||
|
73 | ||||
|
74 | if 'HGTEST_RESTOREENV' in os.environ: | |||
|
75 | files_cmd = '. $HGTEST_RESTOREENV; ' + files_cmd | |||
|
76 | ||||
72 | files = subprocess.check_output( |
|
77 | files = subprocess.check_output( | |
73 | "hg files --print0 \"%s\"" % fileset, |
|
78 | files_cmd, | |
74 | shell=True, |
|
79 | shell=True, | |
75 | cwd=cwd, |
|
80 | cwd=cwd, | |
76 | ).split(b'\0') |
|
81 | ).split(b'\0') |
General Comments 0
You need to be logged in to leave comments.
Login now