##// END OF EJS Templates
pager: add a config knob to just globally turn off the pager
Augie Fackler -
r31062:88203f26 default
parent child Browse files
Show More
@@ -26,3 +26,10 b' you can use --pager=<value>::'
26 - require the pager: `yes` or `on`.
26 - require the pager: `yes` or `on`.
27 - suppress the pager: `no` or `off` (any unrecognized value
27 - suppress the pager: `no` or `off` (any unrecognized value
28 will also work).
28 will also work).
29
30 To globally turn off all attempts to use a pager, set::
31
32 [pager]
33 enable = false
34
35 which will prevent the pager from running.
@@ -857,6 +857,7 b' class ui(object):'
857 if (self._disablepager
857 if (self._disablepager
858 or self.pageractive
858 or self.pageractive
859 or command in self.configlist('pager', 'ignore')
859 or command in self.configlist('pager', 'ignore')
860 or not self.configbool('pager', 'enable', True)
860 or not self.configbool('pager', 'attend-' + command, True)
861 or not self.configbool('pager', 'attend-' + command, True)
861 # TODO: if we want to allow HGPLAINEXCEPT=pager,
862 # TODO: if we want to allow HGPLAINEXCEPT=pager,
862 # formatted() will need some adjustment.
863 # formatted() will need some adjustment.
General Comments 0
You need to be logged in to leave comments. Login now