Show More
@@ -2581,14 +2581,7 b' def cat(ui, repo, ctx, matcher, prefix, ' | |||||
2581 | write(file) |
|
2581 | write(file) | |
2582 | return 0 |
|
2582 | return 0 | |
2583 |
|
2583 | |||
2584 | # Don't warn about "missing" files that are really in subrepos |
|
2584 | for abs in ctx.walk(matcher): | |
2585 | def badfn(path, msg): |
|
|||
2586 | for subpath in ctx.substate: |
|
|||
2587 | if path.startswith(subpath + '/'): |
|
|||
2588 | return |
|
|||
2589 | matcher.bad(path, msg) |
|
|||
2590 |
|
||||
2591 | for abs in ctx.walk(matchmod.badmatch(matcher, badfn)): |
|
|||
2592 | write(abs) |
|
2585 | write(abs) | |
2593 | err = 0 |
|
2586 | err = 0 | |
2594 |
|
2587 |
General Comments 0
You need to be logged in to leave comments.
Login now