Show More
@@ -593,20 +593,20 b' def _dispatch(req):' | |||||
593 | atexit.register(print_time) |
|
593 | atexit.register(print_time) | |
594 |
|
594 | |||
595 | if options['verbose'] or options['debug'] or options['quiet']: |
|
595 | if options['verbose'] or options['debug'] or options['quiet']: | |
596 | for ui in (ui, lui): |
|
596 | for ui_ in (ui, lui): | |
597 | ui.setconfig('ui', 'verbose', str(bool(options['verbose']))) |
|
597 | ui_.setconfig('ui', 'verbose', str(bool(options['verbose']))) | |
598 | ui.setconfig('ui', 'debug', str(bool(options['debug']))) |
|
598 | ui_.setconfig('ui', 'debug', str(bool(options['debug']))) | |
599 | ui.setconfig('ui', 'quiet', str(bool(options['quiet']))) |
|
599 | ui_.setconfig('ui', 'quiet', str(bool(options['quiet']))) | |
600 | if options['traceback']: |
|
600 | if options['traceback']: | |
601 | for ui in (ui, lui): |
|
601 | for ui_ in (ui, lui): | |
602 | ui.setconfig('ui', 'traceback', 'on') |
|
602 | ui_.setconfig('ui', 'traceback', 'on') | |
603 | if options['noninteractive']: |
|
603 | if options['noninteractive']: | |
604 | for ui in (ui, lui): |
|
604 | for ui_ in (ui, lui): | |
605 | ui.setconfig('ui', 'interactive', 'off') |
|
605 | ui_.setconfig('ui', 'interactive', 'off') | |
606 |
|
606 | |||
607 | if cmdoptions.get('insecure', False): |
|
607 | if cmdoptions.get('insecure', False): | |
608 | for ui in (ui, lui): |
|
608 | for ui_ in (ui, lui): | |
609 | ui.setconfig('web', 'cacerts', '') |
|
609 | ui_.setconfig('web', 'cacerts', '') | |
610 |
|
610 | |||
611 | if options['help']: |
|
611 | if options['help']: | |
612 | return commands.help_(ui, cmd, options['version']) |
|
612 | return commands.help_(ui, cmd, options['version']) |
General Comments 0
You need to be logged in to leave comments.
Login now