# HG changeset patch # User Augie Fackler # Date 1486443354 18000 # Node ID 75e325ce538e2e9e434b15c40d4f43e2ce5d4167 # Parent 29a4a8d01bc9886eba24b9e7d778948b698c9f89 ui: add a debug print right before we start the pager This makes it easier to figure out why a command is getting paginated. diff -r 29a4a8d01bc9 -r 75e325ce538e mercurial/ui.py --- 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