Show More
@@ -676,10 +676,11 def addremove(repo, pats=[], opts={}, dr | |||||
676 | m.bad = lambda x, y: rejected.append(x) |
|
676 | m.bad = lambda x, y: rejected.append(x) | |
677 |
|
677 | |||
678 | ctx = repo[None] |
|
678 | ctx = repo[None] | |
679 | walkresults = repo.dirstate.walk(m, sorted(ctx.substate), True, False) |
|
679 | dirstate = repo.dirstate | |
|
680 | walkresults = dirstate.walk(m, sorted(ctx.substate), True, False) | |||
680 | for abs in sorted(walkresults): |
|
681 | for abs in sorted(walkresults): | |
681 | st = walkresults[abs] |
|
682 | st = walkresults[abs] | |
682 |
dstate = |
|
683 | dstate = dirstate[abs] | |
683 | if dstate == '?' and audit_path.check(abs): |
|
684 | if dstate == '?' and audit_path.check(abs): | |
684 | unknown.append(abs) |
|
685 | unknown.append(abs) | |
685 | if repo.ui.verbose or not m.exact(abs): |
|
686 | if repo.ui.verbose or not m.exact(abs): |
General Comments 0
You need to be logged in to leave comments.
Login now