Mercurial > hg-stable
diff mercurial/context.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 | da5209afe1bc |
children | d6512b3e9ac0 |
line wrap: on
line diff
--- a/mercurial/context.py Thu Dec 31 16:30:34 2009 -0600 +++ b/mercurial/context.py Thu Dec 31 17:19:30 2009 -0600 @@ -638,7 +638,8 @@ return self._parents[0].ancestor(c2) # punt on two parents for now def walk(self, match): - return sorted(self._repo.dirstate.walk(match, True, False)) + return sorted(self._repo.dirstate.walk(match, self.substate.keys(), + True, False)) def dirty(self, missing=False): "check whether a working directory is modified"