equal
deleted
inserted
replaced
2706 |
2706 |
2707 badmatch = matchmod.badmatch(match, badfn) |
2707 badmatch = matchmod.badmatch(match, badfn) |
2708 dirstate = repo.dirstate |
2708 dirstate = repo.dirstate |
2709 # We don't want to just call wctx.walk here, since it would return a lot of |
2709 # We don't want to just call wctx.walk here, since it would return a lot of |
2710 # clean files, which we aren't interested in and takes time. |
2710 # clean files, which we aren't interested in and takes time. |
2711 for f in sorted(dirstate.walk(badmatch, sorted(wctx.substate), |
2711 for f in sorted(dirstate.walk(badmatch, subrepos=sorted(wctx.substate), |
2712 True, False, full=False)): |
2712 unknown=True, ignored=False, full=False)): |
2713 exact = match.exact(f) |
2713 exact = match.exact(f) |
2714 if exact or not explicitonly and f not in wctx and repo.wvfs.lexists(f): |
2714 if exact or not explicitonly and f not in wctx and repo.wvfs.lexists(f): |
2715 if cca: |
2715 if cca: |
2716 cca(f) |
2716 cca(f) |
2717 names.append(f) |
2717 names.append(f) |