Mercurial > public > mercurial-scm > hg
diff tests/run-tests.py @ 4633:ff7253a0d1da
Cleanup of whitespace, indentation and line continuation.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 19 Jun 2007 08:06:37 +0200 |
parents | 860478527568 |
children | 6403f948bd6b |
line wrap: on
line diff
--- a/tests/run-tests.py Mon Jun 18 21:30:27 2007 -0500 +++ b/tests/run-tests.py Tue Jun 19 08:06:37 2007 +0200 @@ -150,10 +150,10 @@ os.rename(os.path.join(BINDIR, "hg"), os.path.join(BINDIR, "_hg.py")) f = open(os.path.join(BINDIR, 'hg'), 'w') f.write('#!' + sys.executable + '\n') - f.write('import sys, os; os.execv(sys.executable, [sys.executable, '+ \ - '"%s", "-x", "%s"] + sys.argv[1:])\n' % ( - os.path.join(TESTDIR, 'coverage.py'), - os.path.join(BINDIR, '_hg.py'))) + f.write('import sys, os; os.execv(sys.executable, [sys.executable, ' + '"%s", "-x", "%s"] + sys.argv[1:])\n' % + (os.path.join(TESTDIR, 'coverage.py'), + os.path.join(BINDIR, '_hg.py'))) f.close() os.chmod(os.path.join(BINDIR, 'hg'), 0700) python = '"%s" "%s" -x' % (sys.executable,