ui: add a debug print right before we start the pager
This makes it easier to figure out why a command is getting paginated.
--- 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