##// END OF EJS Templates
revlog: reachable actually takes a node
Matt Mackall -
r3630:50803629 default
parent child Browse files
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, rev, stop=None):
545 def reachable(self, node, stop=None):
546 reachable = {}
546 reachable = {}
547 visit = [rev]
547 visit = [node]
548 reachable[rev] = 1
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