Mercurial > public > mercurial-scm > hg-stable
diff mercurial/ui.py @ 31082:88203f26ea57
pager: add a config knob to just globally turn off the pager
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 07 Feb 2017 17:13:25 -0500 |
parents | 9c827087df38 |
children | 873ebdd6e84d |
line wrap: on
line diff
--- a/mercurial/ui.py Tue Feb 07 00:07:53 2017 -0500 +++ b/mercurial/ui.py Tue Feb 07 17:13:25 2017 -0500 @@ -857,6 +857,7 @@ if (self._disablepager or self.pageractive or command in self.configlist('pager', 'ignore') + or not self.configbool('pager', 'enable', True) or not self.configbool('pager', 'attend-' + command, True) # TODO: if we want to allow HGPLAINEXCEPT=pager, # formatted() will need some adjustment.