mercurial/context.py
changeset 8066 aece3c9e62f1
parent 7874 d812029cda85
parent 8061 26316dda374f
child 8151 127281884959
equal deleted inserted replaced
8060:84d0fe34427b 8066:aece3c9e62f1
   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()