Show More
@@ -542,10 +542,10 b' class revlog(object):' | |||||
542 | else: |
|
542 | else: | |
543 | return self.index[rev][-5] |
|
543 | return self.index[rev][-5] | |
544 |
|
544 | |||
545 |
def reachable(self, |
|
545 | def reachable(self, node, stop=None): | |
546 | reachable = {} |
|
546 | reachable = {} | |
547 |
visit = [ |
|
547 | visit = [node] | |
548 |
reachable[ |
|
548 | reachable[node] = 1 | |
549 | if stop: |
|
549 | if stop: | |
550 | stopn = self.rev(stop) |
|
550 | stopn = self.rev(stop) | |
551 | else: |
|
551 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now