# HG changeset patch # User Augie Fackler <au...@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) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel