##// END OF EJS Templates
pager: skip running the pager if it's set to 'cat'...
Augie Fackler -
r31479:96929bd6 default
parent child Browse files
Show More
@@ -935,6 +935,9 b' class ui(object):'
935 This is separate in part so that extensions (like chg) can
935 This is separate in part so that extensions (like chg) can
936 override how a pager is invoked.
936 override how a pager is invoked.
937 """
937 """
938 if command == 'cat':
939 # Save ourselves some work.
940 return
938 # If the command doesn't contain any of these characters, we
941 # If the command doesn't contain any of these characters, we
939 # assume it's a binary and exec it directly. This means for
942 # assume it's a binary and exec it directly. This means for
940 # simple pager command configurations, we can degrade
943 # simple pager command configurations, we can degrade
General Comments 0
You need to be logged in to leave comments. Login now