mercurial/context.py
changeset 8061 26316dda374f
parent 7633 08cabecfa8a8
child 8066 aece3c9e62f1
equal deleted inserted replaced
8054:b13cc762314a 8061:26316dda374f
   511 
   511 
   512     def __nonzero__(self):
   512     def __nonzero__(self):
   513         return True
   513         return True
   514 
   514 
   515     def __contains__(self, key):
   515     def __contains__(self, key):
   516         return self._dirstate[key] not in "?r"
   516         return self._repo.dirstate[key] not in "?r"
   517 
   517 
   518     def _manifest(self):
   518     def _manifest(self):
   519         """generate a manifest corresponding to the working directory"""
   519         """generate a manifest corresponding to the working directory"""
   520 
   520 
   521         man = self._parents[0].manifest().copy()
   521         man = self._parents[0].manifest().copy()