mercurial/dispatch.py
changeset 30993 9c2977ceaa46
parent 30976 e92daf156d5c
child 30994 3ed6e43998df
--- a/mercurial/dispatch.py	Wed Feb 15 17:47:51 2017 -0500
+++ b/mercurial/dispatch.py	Wed Feb 15 17:47:57 2017 -0500
@@ -819,6 +819,8 @@
 
 def _runcommand(ui, options, cmd, cmdfunc):
     """Run a command function, possibly with profiling enabled."""
+    if util.parsebool(options['pager']):
+        ui.pager('internal-always-' + cmd)
     try:
         return cmdfunc()
     except error.SignatureError: