mercurial/revlog.py
changeset 41764 37ead13fb3d4
parent 41763 6843379bf99e
child 41819 688fc33e105d
equal deleted inserted replaced
41763:6843379bf99e 41764:37ead13fb3d4
  1119         if revs is None:
  1119         if revs is None:
  1120             try:
  1120             try:
  1121                 return self.index.headrevs()
  1121                 return self.index.headrevs()
  1122             except AttributeError:
  1122             except AttributeError:
  1123                 return self._headrevs()
  1123                 return self._headrevs()
       
  1124         if rustext is not None:
       
  1125             return rustext.dagop.headrevs(self.index, revs)
  1124         return dagop.headrevs(revs, self._uncheckedparentrevs)
  1126         return dagop.headrevs(revs, self._uncheckedparentrevs)
  1125 
  1127 
  1126     def computephases(self, roots):
  1128     def computephases(self, roots):
  1127         return self.index.computephasesmapsets(roots)
  1129         return self.index.computephasesmapsets(roots)
  1128 
  1130