Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 10176:24ce8f0c0a39
dirstate: don't check state of subrepo directories
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Thu, 31 Dec 2009 17:19:30 -0600 |
parents | a9836feb5a8c |
children | d6512b3e9ac0 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Dec 31 16:30:34 2009 -0600 +++ b/mercurial/localrepo.py Thu Dec 31 17:19:30 2009 -0600 @@ -1000,7 +1000,9 @@ match.bad = bad if working: # we need to scan the working dir - s = self.dirstate.status(match, listignored, listclean, listunknown) + subrepos = ctx1.substate.keys() + s = self.dirstate.status(match, subrepos, listignored, + listclean, listunknown) cmp, modified, added, removed, deleted, unknown, ignored, clean = s # check for any possibly clean files