# HG changeset patch # User Siddharth Agarwal # Date 2013-05-07 16:29:43 # Node ID b184e5041f2f74436099fd70645c3ff31d08d780 # Parent 60b63216997c4cce2b3968060ddd637b5541b2ac dirstate.walk: maintain a list of dirs not found Upcoming patches will factor out the walk over explicit files done in step 1. This helps us get there. diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -607,6 +607,7 @@ class dirstate(object): results['.hg'] = None # step 1: find all explicit files + dirsnotfound = [] for ff in files: if normalize: nf = normalize(normpath(ff), False, True) @@ -642,6 +643,7 @@ class dirstate(object): if fn.startswith(prefix): if matchedir: matchedir(nf) + dirsnotfound.append(nf) skipstep3 = False break else: