mercurial/ui.py
changeset 31486 96929bd6e58d
parent 31485 9335dc6b2a9c
child 31488 a7c687c35119
--- a/mercurial/ui.py	Wed Mar 15 20:33:47 2017 -0400
+++ b/mercurial/ui.py	Wed Mar 15 20:34:26 2017 -0400
@@ -935,6 +935,9 @@
         This is separate in part so that extensions (like chg) can
         override how a pager is invoked.
         """
+        if command == 'cat':
+            # Save ourselves some work.
+            return
         # If the command doesn't contain any of these characters, we
         # assume it's a binary and exec it directly. This means for
         # simple pager command configurations, we can degrade