Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
31081:900996da577a | 31082:88203f26ea57 |
---|---|
855 not "history, "summary" not "summ", etc. | 855 not "history, "summary" not "summ", etc. |
856 """ | 856 """ |
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. |
863 or not self.formatted() | 864 or not self.formatted() |
864 or self.plain() | 865 or self.plain() |