comparison mercurial/context.py @ 17427:57c6c24b9bc4

improve some comments and docstrings, fixing issues found when spell checking
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 21 Aug 2012 02:41:20 +0200
parents e95ec38f86b0
children fb72eec7efd8
comparison
equal deleted inserted replaced
17426:9724f8f8850b 17427:57c6c24b9bc4
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 against it. 240 # We should just compute a cache and 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
246 if not self.obsolete(): 246 if not self.obsolete():