mercurial/context.py
changeset 17424 e7cfe3587ea4
parent 17330 32e9d63d9ba6
child 17425 e95ec38f86b0
equal deleted inserted replaced
17406:fc14953e8e34 17424:e7cfe3587ea4
   235         return (self.node() in self._repo.obsstore.precursors
   235         return (self.node() in self._repo.obsstore.precursors
   236                 and self.phase() > phases.public)
   236                 and self.phase() > phases.public)
   237 
   237 
   238     def extinct(self):
   238     def extinct(self):
   239         """True if the changeset is extinct"""
   239         """True if the changeset is extinct"""
   240         # We should just compute a cache a check againts it.
   240         # We should just compute a cache a check against it.
   241         # see revset implementation for details
   241         # see revset implementation for details
   242         #
   242         #
   243         # But this naive implementation does not require cache
   243         # But this naive implementation does not require cache
   244         if self.phase() <= phases.public:
   244         if self.phase() <= phases.public:
   245             return False
   245             return False