equal
deleted
inserted
replaced
70 |
70 |
71 if not os.path.isdir(os.path.join(cwd, ".hg")): |
71 if not os.path.isdir(os.path.join(cwd, ".hg")): |
72 sys.exit(0) |
72 sys.exit(0) |
73 |
73 |
74 files = subprocess.check_output( |
74 files = subprocess.check_output( |
75 "HGRCPATH=/dev/null . helpers-testrepo.sh; testrepohg files --print0 \"%s\"" |
75 [ |
76 % fileset, |
76 "sh", |
77 shell=True, |
77 "-c", |
|
78 "set -e; . helpers-testrepo.sh; testrepohg files --print0 \"%s\"" |
|
79 % fileset, |
|
80 ], |
|
81 shell=False, |
78 cwd=cwd, |
82 cwd=cwd, |
79 ).split(b'\0') |
83 ).split(b'\0') |
80 |
84 |
81 if sys.version_info[0] >= 3: |
85 if sys.version_info[0] >= 3: |
82 cwd = os.fsencode(cwd) |
86 cwd = os.fsencode(cwd) |