[PATCH 11 of 19 pager] locate: enable pager

Augie Fackler raf at durin42.com
Sun Feb 19 18:13:02 EST 2017


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1486440250 18000
#      Mon Feb 06 23:04:10 2017 -0500
# Node ID fbd10f8b093b23fb9dba972b5a05c7bcdfb904f2
# Parent  b6f05836ba20bb8b25469a30aeed1b3506392bbf
locate: enable pager

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3292,6 +3292,7 @@ def locate(ui, repo, *pats, **opts):
     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)


More information about the Mercurial-devel mailing list