equal
deleted
inserted
replaced
633 assert roots |
633 assert roots |
634 assert heads |
634 assert heads |
635 return (orderedout, roots, heads) |
635 return (orderedout, roots, heads) |
636 |
636 |
637 def headrevs(self): |
637 def headrevs(self): |
|
638 try: |
|
639 return self.index.headrevs() |
|
640 except AttributeError: |
|
641 pass |
638 count = len(self) |
642 count = len(self) |
639 if not count: |
643 if not count: |
640 return [nullrev] |
644 return [nullrev] |
641 ishead = [1] * (count + 1) |
645 ishead = [1] * (count + 1) |
642 index = self.index |
646 index = self.index |