mercurial/scmutil.py
changeset 40087 1d09ba0d2ed3
parent 40041 ca9d0c93acea
child 40167 c554dc0cc16e
equal deleted inserted replaced
40086:41fcdfe3bfeb 40087:1d09ba0d2ed3
  1096     added, unknown, deleted, removed, forgotten = [], [], [], [], []
  1096     added, unknown, deleted, removed, forgotten = [], [], [], [], []
  1097     audit_path = pathutil.pathauditor(repo.root, cached=True)
  1097     audit_path = pathutil.pathauditor(repo.root, cached=True)
  1098 
  1098 
  1099     ctx = repo[None]
  1099     ctx = repo[None]
  1100     dirstate = repo.dirstate
  1100     dirstate = repo.dirstate
       
  1101     matcher = repo.narrowmatch(matcher, includeexact=True)
  1101     walkresults = dirstate.walk(matcher, subrepos=sorted(ctx.substate),
  1102     walkresults = dirstate.walk(matcher, subrepos=sorted(ctx.substate),
  1102                                 unknown=True, ignored=False, full=False)
  1103                                 unknown=True, ignored=False, full=False)
  1103     for abs, st in walkresults.iteritems():
  1104     for abs, st in walkresults.iteritems():
  1104         dstate = dirstate[abs]
  1105         dstate = dirstate[abs]
  1105         if dstate == '?' and audit_path.check(abs):
  1106         if dstate == '?' and audit_path.check(abs):