Show More
@@ -182,7 +182,7 b' def parseargs():' | |||||
182 | os.access(options.with_hg, os.X_OK)): |
|
182 | os.access(options.with_hg, os.X_OK)): | |
183 | parser.error('--with-hg must specify an executable hg script') |
|
183 | parser.error('--with-hg must specify an executable hg script') | |
184 | if not os.path.basename(options.with_hg) == 'hg': |
|
184 | if not os.path.basename(options.with_hg) == 'hg': | |
185 | sys.stderr.write('warning: --with-hg should specify an hg script') |
|
185 | sys.stderr.write('warning: --with-hg should specify an hg script\n') | |
186 | if options.local: |
|
186 | if options.local: | |
187 | testdir = os.path.dirname(os.path.realpath(sys.argv[0])) |
|
187 | testdir = os.path.dirname(os.path.realpath(sys.argv[0])) | |
188 | hgbin = os.path.join(os.path.dirname(testdir), 'hg') |
|
188 | hgbin = os.path.join(os.path.dirname(testdir), 'hg') | |
@@ -241,7 +241,7 b' def parseargs():' | |||||
241 | options.timeout = 0 |
|
241 | options.timeout = 0 | |
242 | if options.timeout and not hasattr(subprocess.Popen, 'terminate'): |
|
242 | if options.timeout and not hasattr(subprocess.Popen, 'terminate'): | |
243 | sys.stderr.write('warning: timeout is not supported on this ' |
|
243 | sys.stderr.write('warning: timeout is not supported on this ' | |
244 | 'platform and will be ignored') |
|
244 | 'platform and will be ignored\n') | |
245 | options.timeout = 0 |
|
245 | options.timeout = 0 | |
246 | if options.py3k_warnings: |
|
246 | if options.py3k_warnings: | |
247 | if sys.version_info[:2] < (2, 6) or sys.version_info[:2] >= (3, 0): |
|
247 | if sys.version_info[:2] < (2, 6) or sys.version_info[:2] >= (3, 0): |
General Comments 0
You need to be logged in to leave comments.
Login now