equal
deleted
inserted
replaced
2582 return 0 |
2582 return 0 |
2583 |
2583 |
2584 # Don't warn about "missing" files that are really in subrepos |
2584 # Don't warn about "missing" files that are really in subrepos |
2585 def badfn(path, msg): |
2585 def badfn(path, msg): |
2586 for subpath in ctx.substate: |
2586 for subpath in ctx.substate: |
2587 if path.startswith(subpath): |
2587 if path.startswith(subpath + '/'): |
2588 return |
2588 return |
2589 matcher.bad(path, msg) |
2589 matcher.bad(path, msg) |
2590 |
2590 |
2591 for abs in ctx.walk(matchmod.badmatch(matcher, badfn)): |
2591 for abs in ctx.walk(matchmod.badmatch(matcher, badfn)): |
2592 write(abs) |
2592 write(abs) |