mercurial/ui.py
changeset 39340 6f38284b23f4
parent 38897 e9740c07158d
child 39678 50f46b771921
equal deleted inserted replaced
39339:9198e41df6ef 39340:6f38284b23f4
  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