mercurial/ui.py
changeset 31350 66f1c244b43a
parent 31263 64596338ba10
child 31359 2eee8ad77726
equal deleted inserted replaced
31349:ff25b89a0776 31350:66f1c244b43a
   899             # TODO: if we want to allow HGPLAINEXCEPT=pager,
   899             # TODO: if we want to allow HGPLAINEXCEPT=pager,
   900             # formatted() will need some adjustment.
   900             # formatted() will need some adjustment.
   901             or not self.formatted()
   901             or not self.formatted()
   902             or self.plain()
   902             or self.plain()
   903             # TODO: expose debugger-enabled on the UI object
   903             # TODO: expose debugger-enabled on the UI object
   904             or '--debugger' in sys.argv):
   904             or '--debugger' in pycompat.sysargv):
   905             # We only want to paginate if the ui appears to be
   905             # We only want to paginate if the ui appears to be
   906             # interactive, the user didn't say HGPLAIN or
   906             # interactive, the user didn't say HGPLAIN or
   907             # HGPLAINEXCEPT=pager, and the user didn't specify --debug.
   907             # HGPLAINEXCEPT=pager, and the user didn't specify --debug.
   908             return
   908             return
   909 
   909