equal
deleted
inserted
replaced
1169 files.update(wctx.substate) |
1169 files.update(wctx.substate) |
1170 else: |
1170 else: |
1171 files.update(ctx.files()) |
1171 files.update(ctx.files()) |
1172 files.update(ctx.substate) |
1172 files.update(ctx.substate) |
1173 |
1173 |
1174 m = ctx.matchfileset(expr) |
1174 m = ctx.matchfileset(repo.getcwd(), expr) |
1175 if opts[b'show_matcher'] or (opts[b'show_matcher'] is None and ui.verbose): |
1175 if opts[b'show_matcher'] or (opts[b'show_matcher'] is None and ui.verbose): |
1176 ui.writenoi18n(b'* matcher:\n', stringutil.prettyrepr(m), b'\n') |
1176 ui.writenoi18n(b'* matcher:\n', stringutil.prettyrepr(m), b'\n') |
1177 for f in sorted(files): |
1177 for f in sorted(files): |
1178 if not m(f): |
1178 if not m(f): |
1179 continue |
1179 continue |