changeset 31039:9f28424d6483

locate: enable pager
author Augie Fackler <augie@google.com>
date Mon, 06 Feb 2017 23:04:10 -0500
parents 66e1eba45f02
children bcc9d4ebf81b
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: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)