mercurial/context.py
changeset 17330 32e9d63d9ba6
parent 17207 62c56c94c77e
child 17424 e7cfe3587ea4
equal deleted inserted replaced
17224:23b247234454 17330:32e9d63d9ba6
   883     @propertycache
   883     @propertycache
   884     def _parents(self):
   884     def _parents(self):
   885         p = self._repo.dirstate.parents()
   885         p = self._repo.dirstate.parents()
   886         if p[1] == nullid:
   886         if p[1] == nullid:
   887             p = p[:-1]
   887             p = p[:-1]
   888         self._parents = [changectx(self._repo, x) for x in p]
   888         return [changectx(self._repo, x) for x in p]
   889         return self._parents
       
   890 
   889 
   891     def status(self, ignored=False, clean=False, unknown=False):
   890     def status(self, ignored=False, clean=False, unknown=False):
   892         """Explicit status query
   891         """Explicit status query
   893         Unless this method is used to query the working copy status, the
   892         Unless this method is used to query the working copy status, the
   894         _status property will implicitly read the status using its default
   893         _status property will implicitly read the status using its default