Show More
@@ -357,7 +357,7 b' def parseargs(args, parser):' | |||||
357 | if not (os.path.isfile(options.with_hg) and |
|
357 | if not (os.path.isfile(options.with_hg) and | |
358 | os.access(options.with_hg, os.X_OK)): |
|
358 | os.access(options.with_hg, os.X_OK)): | |
359 | parser.error('--with-hg must specify an executable hg script') |
|
359 | parser.error('--with-hg must specify an executable hg script') | |
360 |
if |
|
360 | if os.path.basename(options.with_hg) not in [b'hg', b'hg.exe']: | |
361 | sys.stderr.write('warning: --with-hg should specify an hg script\n') |
|
361 | sys.stderr.write('warning: --with-hg should specify an hg script\n') | |
362 | if options.local: |
|
362 | if options.local: | |
363 | testdir = os.path.dirname(_bytespath(canonpath(sys.argv[0]))) |
|
363 | testdir = os.path.dirname(_bytespath(canonpath(sys.argv[0]))) |
General Comments 0
You need to be logged in to leave comments.
Login now