# HG changeset patch # User Augie Fackler # Date 2017-02-07 04:04:10 # Node ID 9f28424d648338261f2b56f197c515de51537e20 # Parent 66e1eba45f0225c6073e5682b37e49aed439dc8a 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)