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