Show More
@@ -749,7 +749,9 b' def _dispatch(req):' | |||
|
749 | 749 | for ui_ in uis: |
|
750 | 750 | ui_.setconfig('ui', 'interactive', 'off', '-y') |
|
751 | 751 | |
|
752 |
if |
|
|
752 | if util.parsebool(options['pager']): | |
|
753 | ui.pager('internal-always-' + cmd) | |
|
754 | elif options['pager'] != 'auto': | |
|
753 | 755 | ui.disablepager() |
|
754 | 756 | |
|
755 | 757 | if cmdoptions.get('insecure', False): |
@@ -822,8 +824,6 b' def _dispatch(req):' | |||
|
822 | 824 | |
|
823 | 825 | def _runcommand(ui, options, cmd, cmdfunc): |
|
824 | 826 | """Run a command function, possibly with profiling enabled.""" |
|
825 | if util.parsebool(options['pager']): | |
|
826 | ui.pager('internal-always-' + cmd) | |
|
827 | 827 | try: |
|
828 | 828 | return cmdfunc() |
|
829 | 829 | except error.SignatureError: |
General Comments 0
You need to be logged in to leave comments.
Login now