##// END OF EJS Templates
doctest: use the system hg to find the list of file to tests...
marmoute -
r52855:7b8769cc stable
parent child Browse files
Show More
@@ -69,8 +69,13 cwd = os.path.dirname(os.environ["TESTDI
69 69 if not os.path.isdir(os.path.join(cwd, ".hg")):
70 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 77 files = subprocess.check_output(
73 "hg files --print0 \"%s\"" % fileset,
78 files_cmd,
74 79 shell=True,
75 80 cwd=cwd,
76 81 ).split(b'\0')
General Comments 0
You need to be logged in to leave comments. Login now