mercurial/revlog.py
changeset 24444 27e3ba73fbb1
parent 24255 4bfe9f2d9761
child 24454 59904edf0a5e
equal deleted inserted replaced
24443:539b3c7eea44 24444:27e3ba73fbb1
   722         try:
   722         try:
   723             return self.index.headrevs()
   723             return self.index.headrevs()
   724         except AttributeError:
   724         except AttributeError:
   725             return self._headrevs()
   725             return self._headrevs()
   726 
   726 
       
   727     def computephases(self, roots):
       
   728         return self.index.computephases(roots)
       
   729 
   727     def _headrevs(self):
   730     def _headrevs(self):
   728         count = len(self)
   731         count = len(self)
   729         if not count:
   732         if not count:
   730             return [nullrev]
   733             return [nullrev]
   731         # we won't iter over filtered rev so nobody is a head at start
   734         # we won't iter over filtered rev so nobody is a head at start