##// END OF EJS Templates
run-tests: error out on `--local --with-[c]hg`...
Martin von Zweigbergk -
r43084:fb84730d default
parent child Browse files
Show More
@@ -493,6 +493,8 b' def parseargs(args, parser):'
493 sys.stderr.write('warning: --with-hg should specify an hg script\n')
493 sys.stderr.write('warning: --with-hg should specify an hg script\n')
494 sys.stderr.flush()
494 sys.stderr.flush()
495 if options.local:
495 if options.local:
496 if options.with_hg or options.with_chg:
497 parser.error('--local cannot be used with --with-hg or --with-chg')
496 testdir = os.path.dirname(_bytespath(canonpath(sys.argv[0])))
498 testdir = os.path.dirname(_bytespath(canonpath(sys.argv[0])))
497 reporootdir = os.path.dirname(testdir)
499 reporootdir = os.path.dirname(testdir)
498 pathandattrs = [(b'hg', 'with_hg')]
500 pathandattrs = [(b'hg', 'with_hg')]
General Comments 0
You need to be logged in to leave comments. Login now