Mercurial > hg-stable
changeset 31018:75e325ce538e
ui: add a debug print right before we start the pager
This makes it easier to figure out why a command is getting paginated.
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 06 Feb 2017 23:55:54 -0500 |
parents | 29a4a8d01bc9 |
children | 334cf948c758 |
files | mercurial/ui.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/ui.py Mon Feb 06 23:42:04 2017 -0500 +++ b/mercurial/ui.py Mon Feb 06 23:55:54 2017 -0500 @@ -863,6 +863,7 @@ # interactive, the user didn't say HGPLAIN or # HGPLAINEXCEPT=pager, and the user didn't specify --debug. return + self.debug('starting pager for command %r\n' % command) # TODO: add a "system defaults" config section so this default # of more(1) can be easily replaced with a global