equal
deleted
inserted
replaced
2206 cca = None |
2206 cca = None |
2207 abort, warn = scmutil.checkportabilityalert(ui) |
2207 abort, warn = scmutil.checkportabilityalert(ui) |
2208 if abort or warn: |
2208 if abort or warn: |
2209 cca = scmutil.casecollisionauditor(ui, abort, repo.dirstate) |
2209 cca = scmutil.casecollisionauditor(ui, abort, repo.dirstate) |
2210 |
2210 |
2211 for f in wctx.walk(matchmod.badmatch(match, badfn)): |
2211 badmatch = matchmod.badmatch(match, badfn) |
|
2212 dirstate = repo.dirstate |
|
2213 # We don't want to just call wctx.walk here, since it would return a lot of |
|
2214 # clean files, which we aren't interested in and takes time. |
|
2215 for f in sorted(dirstate.walk(badmatch, sorted(wctx.substate), |
|
2216 True, False, full=False)): |
2212 exact = match.exact(f) |
2217 exact = match.exact(f) |
2213 if exact or not explicitonly and f not in wctx and repo.wvfs.lexists(f): |
2218 if exact or not explicitonly and f not in wctx and repo.wvfs.lexists(f): |
2214 if cca: |
2219 if cca: |
2215 cca(f) |
2220 cca(f) |
2216 names.append(f) |
2221 names.append(f) |