Show More
@@ -833,22 +833,23 b' def _dispatch(req):' | |||
|
833 | 833 | for ui_ in uis: |
|
834 | 834 | ui_.setconfig('ui', 'interactive', 'off', '-y') |
|
835 | 835 | |
|
836 | if util.parsebool(options['pager']): | |
|
837 | ui.pager('internal-always-' + cmd) | |
|
838 | elif options['pager'] != 'auto': | |
|
839 | ui.disablepager() | |
|
840 | ||
|
841 | 836 | if cmdoptions.get('insecure', False): |
|
842 | 837 | for ui_ in uis: |
|
843 | 838 | ui_.insecureconnections = True |
|
844 | 839 | |
|
845 | # setup color handling | |
|
840 | # setup color handling before pager, because setting up pager | |
|
841 | # might cause incorrect console information | |
|
846 | 842 | coloropt = options['color'] |
|
847 | 843 | for ui_ in uis: |
|
848 | 844 | if coloropt: |
|
849 | 845 | ui_.setconfig('ui', 'color', coloropt, '--color') |
|
850 | 846 | color.setup(ui_) |
|
851 | 847 | |
|
848 | if util.parsebool(options['pager']): | |
|
849 | ui.pager('internal-always-' + cmd) | |
|
850 | elif options['pager'] != 'auto': | |
|
851 | ui.disablepager() | |
|
852 | ||
|
852 | 853 | if options['version']: |
|
853 | 854 | return commands.version_(ui) |
|
854 | 855 | if options['help']: |
General Comments 0
You need to be logged in to leave comments.
Login now