diff -r e073ac988b51 -r 1835de2d9c4b mercurial/dirstate.py --- a/mercurial/dirstate.py Sun Apr 28 21:24:09 2013 -0700 +++ b/mercurial/dirstate.py Sun Apr 28 21:25:41 2013 -0700 @@ -621,7 +621,7 @@ if nf in dmap: #file deleted on disk but still in dirstate results[nf] = None - match.dir(nf) + match.explicitdir(nf) if not dirignore(nf): wadd(nf) elif kind == regkind or kind == lnkkind: @@ -637,7 +637,7 @@ prefix = nf + "/" for fn in dmap: if fn.startswith(prefix): - match.dir(nf) + match.explicitdir(nf) skipstep3 = False break else: @@ -666,7 +666,7 @@ if nf not in results: if kind == dirkind: if not ignore(nf): - match.dir(nf) + match.traversedir(nf) wadd(nf) if nf in dmap and (matchalways or matchfn(nf)): results[nf] = None