##// END OF EJS Templates
locate: enable pager
Augie Fackler -
r31039:9f28424d default
parent child Browse files
Show More
@@ -3292,6 +3292,7 b' def locate(ui, repo, *pats, **opts):'
3292 m = scmutil.match(ctx, pats, opts, default='relglob',
3292 m = scmutil.match(ctx, pats, opts, default='relglob',
3293 badfn=lambda x, y: False)
3293 badfn=lambda x, y: False)
3294
3294
3295 ui.pager('locate')
3295 for abs in ctx.matches(m):
3296 for abs in ctx.matches(m):
3296 if opts.get('fullpath'):
3297 if opts.get('fullpath'):
3297 ui.write(repo.wjoin(abs), end)
3298 ui.write(repo.wjoin(abs), end)
General Comments 0
You need to be logged in to leave comments. Login now