changeset 14129 | 81e6d42b3228 |
parent 14004 | 97ed99d1f419 |
child 14420 | 137b03b5aea1 |
--- a/mercurial/context.py Sun May 01 06:06:59 2011 -0500 +++ b/mercurial/context.py Sun May 01 08:29:50 2011 -0500 @@ -661,6 +661,12 @@ return man + def __iter__(self): + d = self._repo.dirstate + for f in d: + if d[f] != 'r': + yield f + @propertycache def _status(self): return self._repo.status()[:4]