Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/ui.py @ 31015:5e85bab867a7
ui: add ignore-single-command functionality
This closes the last feature gap other than the attend list from the
extension. For now, I'm leaving the attend list in the extension,
because I'm unsure it has merit in a world where commands have been
updated to take advantage of the modern API.
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 06 Feb 2017 23:21:45 -0500 |
parents | 3ed6e43998df |
children | 29a4a8d01bc9 |
comparison
equal
deleted
inserted
replaced
31014:3ed6e43998df | 31015:5e85bab867a7 |
---|---|
849 command: The full, non-aliased name of the command. That is, "log" | 849 command: The full, non-aliased name of the command. That is, "log" |
850 not "history, "summary" not "summ", etc. | 850 not "history, "summary" not "summ", etc. |
851 """ | 851 """ |
852 if (self._neverpager | 852 if (self._neverpager |
853 or self.pageractive | 853 or self.pageractive |
854 or command in self.configlist('pager', 'ignore') | |
854 # TODO: if we want to allow HGPLAINEXCEPT=pager, | 855 # TODO: if we want to allow HGPLAINEXCEPT=pager, |
855 # formatted() will need some adjustment. | 856 # formatted() will need some adjustment. |
856 or not self.formatted() | 857 or not self.formatted() |
857 or self.plain() | 858 or self.plain() |
858 # TODO: expose debugger-enabled on the UI object | 859 # TODO: expose debugger-enabled on the UI object |