Mercurial > hg
comparison tests/run-tests.py @ 7214:0e8a9530d323
run-tests: --interactive overrides -j
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 22 Oct 2008 17:34:37 -0500 |
parents | fb1d7a42663c |
children | e47dab64be8d |
comparison
equal
deleted
inserted
replaced
7213:b4c035057d34 | 7214:0e8a9530d323 |
---|---|
76 | 76 |
77 if options.jobs < 1: | 77 if options.jobs < 1: |
78 print >> sys.stderr, 'ERROR: -j/--jobs must be positive' | 78 print >> sys.stderr, 'ERROR: -j/--jobs must be positive' |
79 sys.exit(1) | 79 sys.exit(1) |
80 if options.interactive and options.jobs > 1: | 80 if options.interactive and options.jobs > 1: |
81 print >> sys.stderr, 'ERROR: cannot mix -interactive and --jobs > 1' | 81 print '(--interactive overrides --jobs)' |
82 sys.exit(1) | 82 options.jobs = 1 |
83 | 83 |
84 def rename(src, dst): | 84 def rename(src, dst): |
85 """Like os.rename(), trade atomicity and opened files friendliness | 85 """Like os.rename(), trade atomicity and opened files friendliness |
86 for existing destination support. | 86 for existing destination support. |
87 """ | 87 """ |