##// END OF EJS Templates
add docstring to reachable
Matt Mackall -
r3683:b0fd43ef default
parent child Browse files
Show More
@@ -543,6 +543,8 b' class revlog(object):'
543 543 return self.index[rev][-5]
544 544
545 545 def reachable(self, node, stop=None):
546 """return a hash of all nodes ancestral to a given node, including
547 the node itself, stopping when stop is matched"""
546 548 reachable = {}
547 549 visit = [node]
548 550 reachable[node] = 1
General Comments 0
You need to be logged in to leave comments. Login now