##// END OF EJS Templates
scmutil.addremove: pull repo.dirstate fetch out of the loop...
Siddharth Agarwal -
r18861:ec91b66e default
parent child Browse files
Show More
@@ -676,10 +676,11 b' def addremove(repo, pats=[], opts={}, dr'
676 676 m.bad = lambda x, y: rejected.append(x)
677 677
678 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 681 for abs in sorted(walkresults):
681 682 st = walkresults[abs]
682 dstate = repo.dirstate[abs]
683 dstate = dirstate[abs]
683 684 if dstate == '?' and audit_path.check(abs):
684 685 unknown.append(abs)
685 686 if repo.ui.verbose or not m.exact(abs):
General Comments 0
You need to be logged in to leave comments. Login now