equal
deleted
inserted
replaced
568 |
568 |
569 Returns a 2-tuple of (chain, stopped) where ``chain`` is a list of |
569 Returns a 2-tuple of (chain, stopped) where ``chain`` is a list of |
570 revs in ascending order and ``stopped`` is a bool indicating whether |
570 revs in ascending order and ``stopped`` is a bool indicating whether |
571 ``stoprev`` was hit. |
571 ``stoprev`` was hit. |
572 """ |
572 """ |
|
573 # Try C implementation. |
|
574 try: |
|
575 return self.index.deltachain(rev, stoprev, self._generaldelta) |
|
576 except AttributeError: |
|
577 pass |
|
578 |
573 chain = [] |
579 chain = [] |
574 |
580 |
575 # Alias to prevent attribute lookup in tight loop. |
581 # Alias to prevent attribute lookup in tight loop. |
576 index = self.index |
582 index = self.index |
577 generaldelta = self._generaldelta |
583 generaldelta = self._generaldelta |