equal
deleted
inserted
replaced
10 import subprocess |
10 import subprocess |
11 import sys |
11 import sys |
12 |
12 |
13 # Only run if tests are run in a repo |
13 # Only run if tests are run in a repo |
14 if subprocess.call( |
14 if subprocess.call( |
15 ['python', '%s/hghave' % os.environ['TESTDIR'], 'test-repo'] |
15 [sys.executable, '%s/hghave' % os.environ['TESTDIR'], 'test-repo'] |
16 ): |
16 ): |
17 sys.exit(80) |
17 sys.exit(80) |
18 |
18 |
19 from mercurial.interfaces import ( |
19 from mercurial.interfaces import ( |
20 dirstate as intdirstate, |
20 dirstate as intdirstate, |