diff mercurial/context.py @ 8066:aece3c9e62f1

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Mon, 13 Apr 2009 21:57:17 +0200
parents d812029cda85 26316dda374f
children 127281884959
line wrap: on
line diff
--- a/mercurial/context.py	Wed Apr 08 02:38:23 2009 +0900
+++ b/mercurial/context.py	Mon Apr 13 21:57:17 2009 +0200
@@ -513,7 +513,7 @@
         return True
 
     def __contains__(self, key):
-        return self._dirstate[key] not in "?r"
+        return self._repo.dirstate[key] not in "?r"
 
     def _manifest(self):
         """generate a manifest corresponding to the working directory"""