mercurial/dirstate.py
changeset 43752 95d2eab0a7b9
parent 43736 794426e96970
child 43753 deacffd227e2
equal deleted inserted replaced
43751:f965b1027fb0 43752:95d2eab0a7b9
   937             normalize = self._normalize
   937             normalize = self._normalize
   938             normalizefile = None
   938             normalizefile = None
   939 
   939 
   940         # step 1: find all explicit files
   940         # step 1: find all explicit files
   941         results, work, dirsnotfound = self._walkexplicit(match, subrepos)
   941         results, work, dirsnotfound = self._walkexplicit(match, subrepos)
       
   942         if matchtdir:
       
   943             for d in work:
       
   944                 matchtdir(d[0])
       
   945             for d in dirsnotfound:
       
   946                 matchtdir(d)
   942 
   947 
   943         skipstep3 = skipstep3 and not (work or dirsnotfound)
   948         skipstep3 = skipstep3 and not (work or dirsnotfound)
   944         work = [d for d in work if not dirignore(d[0])]
   949         work = [d for d in work if not dirignore(d[0])]
   945 
   950 
   946         # step 2: visit subdirectories
   951         # step 2: visit subdirectories