Mercurial > public > mercurial-scm > hg-stable
diff mercurial/context.py @ 6845:835a01a0cdb3
context: fix workingctx's __contains__ method
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Mon, 21 Jul 2008 13:22:11 +0200 |
parents | fec1da46006e |
children | 54b7c79575fa |
line wrap: on
line diff
--- a/mercurial/context.py Mon Jul 21 13:17:51 2008 +0200 +++ b/mercurial/context.py Mon Jul 21 13:22:11 2008 +0200 @@ -497,7 +497,7 @@ return True def __contains__(self, key): - return self._dirstate[f] not in "?r" + return self._dirstate[key] not in "?r" def __getattr__(self, name): if name == '_status':