grep: enable pager
authorAugie Fackler <augie@google.com>
Mon, 06 Feb 2017 23:09:15 -0500
changeset 31036 effb22ac3648
parent 31035 8c176811b735
child 31037 a602785d86cd
grep: enable pager
mercurial/commands.py
--- a/mercurial/commands.py	Mon Feb 06 23:02:48 2017 -0500
+++ b/mercurial/commands.py	Mon Feb 06 23:09:15 2017 -0500
@@ -2606,6 +2606,7 @@
                 except error.LookupError:
                     pass
 
+    ui.pager('grep')
     fm = ui.formatter('grep', opts)
     for ctx in cmdutil.walkchangerevs(repo, matchfn, opts, prep):
         rev = ctx.rev()