Show More
@@ -477,6 +477,13 b' class revlog(object):' | |||||
477 | if self.version == REVLOGV0: |
|
477 | if self.version == REVLOGV0: | |
478 | return d |
|
478 | return d | |
479 | return [ self.node(x) for x in d ] |
|
479 | return [ self.node(x) for x in d ] | |
|
480 | def parentrevs(self, rev): | |||
|
481 | if rev == -1: | |||
|
482 | return (-1, -1) | |||
|
483 | d = self.index[rev][-3:-1] | |||
|
484 | if self.version == REVLOGV0: | |||
|
485 | return [ self.rev(x) for x in d ] | |||
|
486 | return d | |||
480 | def start(self, rev): |
|
487 | def start(self, rev): | |
481 | if rev < 0: |
|
488 | if rev < 0: | |
482 | return -1 |
|
489 | return -1 |
General Comments 0
You need to be logged in to leave comments.
Login now