changeset 31036:effb22ac3648

grep: enable pager
author Augie Fackler <augie@google.com>
date Mon, 06 Feb 2017 23:09:15 -0500
parents 8c176811b735
children a602785d86cd
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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()