changeset 5718:442c613fd4aa

bisect: remove stop argument to ancestors function
author Matt Mackall <mpm@selenic.com>
date Thu, 27 Dec 2007 23:55:39 -0600
parents 18fdfafdb3e9
children 7edf0501f643
files hgext/hbisect.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/hbisect.py	Thu Dec 27 23:55:39 2007 -0600
+++ b/hgext/hbisect.py	Thu Dec 27 23:55:39 2007 -0600
@@ -68,12 +68,11 @@
 
     def __ancestors_and_nb_ancestors(self, head, stop=None):
         """
-        if stop is None then ancestors of goodrevs are used as
-        lower limit.
-
         returns (anc, n_child) where anc is the set of the ancestors of head
         and n_child is a dictionary with the following mapping:
         node -> number of ancestors (self included)
+
+        ancestors of goodrevs are used as lower limit.
         """
         cl = self.repo.changelog
         if not stop: