mercurial/revlog.py
changeset 3683 b0fd43effdb3
parent 3680 69cf255a55a1
child 3743 3a099154b110
--- a/mercurial/revlog.py	Sun Nov 19 16:32:36 2006 -0600
+++ b/mercurial/revlog.py	Sun Nov 19 16:32:36 2006 -0600
@@ -543,6 +543,8 @@
             return self.index[rev][-5]
 
     def reachable(self, node, stop=None):
+        """return a hash of all nodes ancestral to a given node, including
+         the node itself, stopping when stop is matched"""
         reachable = {}
         visit = [node]
         reachable[node] = 1