mercurial/dispatch.py
changeset 31014 3ed6e43998df
parent 31013 9c2977ceaa46
child 31046 9c827087df38
--- a/mercurial/dispatch.py	Wed Feb 15 17:47:57 2017 -0500
+++ b/mercurial/dispatch.py	Wed Feb 15 17:48:03 2017 -0500
@@ -749,6 +749,9 @@
             for ui_ in uis:
                 ui_.setconfig('ui', 'interactive', 'off', '-y')
 
+        if options['pager'] != 'auto' and not util.parsebool(options['pager']):
+            ui.neverpager()
+
         if cmdoptions.get('insecure', False):
             for ui_ in uis:
                 ui_.insecureconnections = True