equal
deleted
inserted
replaced
3290 ret = 1 |
3290 ret = 1 |
3291 ctx = repo[rev] |
3291 ctx = repo[rev] |
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) |
3298 else: |
3299 else: |
3299 ui.write(((pats and m.rel(abs)) or abs), end) |
3300 ui.write(((pats and m.rel(abs)) or abs), end) |