Show More
@@ -592,18 +592,23 def _dispatch(req): | |||||
592 | (t[4]-s[4], t[0]-s[0], t[2]-s[2], t[1]-s[1], t[3]-s[3])) |
|
592 | (t[4]-s[4], t[0]-s[0], t[2]-s[2], t[1]-s[1], t[3]-s[3])) | |
593 | atexit.register(print_time) |
|
593 | atexit.register(print_time) | |
594 |
|
594 | |||
|
595 | uis = set([ui, lui]) | |||
|
596 | ||||
|
597 | if req.repo: | |||
|
598 | uis.add(req.repo.ui) | |||
|
599 | ||||
595 | for opt in ('verbose', 'debug', 'quiet', 'traceback'): |
|
600 | for opt in ('verbose', 'debug', 'quiet', 'traceback'): | |
596 | val = bool(options[opt]) |
|
601 | val = bool(options[opt]) | |
597 | if val: |
|
602 | if val: | |
598 |
for ui_ in |
|
603 | for ui_ in uis: | |
599 | ui_.setconfig('ui', opt, str(val)) |
|
604 | ui_.setconfig('ui', opt, str(val)) | |
600 |
|
605 | |||
601 | if options['noninteractive']: |
|
606 | if options['noninteractive']: | |
602 |
for ui_ in |
|
607 | for ui_ in uis: | |
603 | ui_.setconfig('ui', 'interactive', 'off') |
|
608 | ui_.setconfig('ui', 'interactive', 'off') | |
604 |
|
609 | |||
605 | if cmdoptions.get('insecure', False): |
|
610 | if cmdoptions.get('insecure', False): | |
606 |
for ui_ in |
|
611 | for ui_ in uis: | |
607 | ui_.setconfig('web', 'cacerts', '') |
|
612 | ui_.setconfig('web', 'cacerts', '') | |
608 |
|
613 | |||
609 | if options['help']: |
|
614 | if options['help']: |
General Comments 0
You need to be logged in to leave comments.
Login now