# HG changeset patch
# User Augie Fackler <au...@google.com>
# Date 1486440555 18000
#      Mon Feb 06 23:09:15 2017 -0500
# Node ID 6dd615d163eb069405ba71fe968980d3340d4702
# Parent  a7e54c6d8835bcda8aed14284046be7489a460a2
grep: enable pager

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2606,6 +2606,7 @@ def grep(ui, repo, pattern, *pats, **opt
                 except error.LookupError:
                     pass
 
+    ui.pager('grep')
     fm = ui.formatter('grep', opts)
     for ctx in cmdutil.walkchangerevs(repo, matchfn, opts, prep):
         rev = ctx.rev()
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to