locate: enable pager
authorAugie Fackler <augie@google.com>
Mon, 06 Feb 2017 23:04:10 -0500
changeset 31039 9f28424d6483
parent 31038 66e1eba45f02
child 31040 bcc9d4ebf81b
locate: enable pager
mercurial/commands.py
--- a/mercurial/commands.py	Mon Feb 06 23:03:48 2017 -0500
+++ b/mercurial/commands.py	Mon Feb 06 23:04:10 2017 -0500
@@ -3292,6 +3292,7 @@
     m = scmutil.match(ctx, pats, opts, default='relglob',
                       badfn=lambda x, y: False)
 
+    ui.pager('locate')
     for abs in ctx.matches(m):
         if opts.get('fullpath'):
             ui.write(repo.wjoin(abs), end)