equal
deleted
inserted
replaced
1050 # explicit --pager=on (= 'internal-always-' prefix) should |
1050 # explicit --pager=on (= 'internal-always-' prefix) should |
1051 # take precedence over disabling factors below |
1051 # take precedence over disabling factors below |
1052 command in self.configlist('pager', 'ignore') |
1052 command in self.configlist('pager', 'ignore') |
1053 or not self.configbool('ui', 'paginate') |
1053 or not self.configbool('ui', 'paginate') |
1054 or not self.configbool('pager', 'attend-' + command, True) |
1054 or not self.configbool('pager', 'attend-' + command, True) |
|
1055 or encoding.environ.get('TERM') == 'dumb' |
1055 # TODO: if we want to allow HGPLAINEXCEPT=pager, |
1056 # TODO: if we want to allow HGPLAINEXCEPT=pager, |
1056 # formatted() will need some adjustment. |
1057 # formatted() will need some adjustment. |
1057 or not self.formatted() |
1058 or not self.formatted() |
1058 or self.plain() |
1059 or self.plain() |
1059 or self._buffers |
1060 or self._buffers |