# HG changeset patch # User Siddharth Agarwal # Date 1367209541 25200 # Node ID 1835de2d9c4b3bbfe813b70d04716a2ad5fa026c # Parent e073ac988b513d013b7c3c8d2dcff54f17263e5d dirstate.walk: call match.explicitdir or traversedir as appropriate 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