mercurial/ancestor.py
changeset 23328 3a7d9c0c57a5
parent 22225 baecf4e1b7d0
child 23332 194508240dc9
--- a/mercurial/ancestor.py	Sun Nov 16 00:24:23 2014 -0500
+++ b/mercurial/ancestor.py	Fri Nov 14 14:36:25 2014 -0800
@@ -216,7 +216,7 @@
     return missing
 
 class lazyancestors(object):
-    def __init__(self, cl, revs, stoprev=0, inclusive=False):
+    def __init__(self, pfunc, revs, stoprev=0, inclusive=False):
         """Create a new object generating ancestors for the given revs. Does
         not generate revs lower than stoprev.
 
@@ -228,7 +228,7 @@
         than stoprev will not be generated.
 
         Result does not include the null revision."""
-        self._parentrevs = cl.parentrevs
+        self._parentrevs = pfunc
         self._initrevs = revs
         self._stoprev = stoprev
         self._inclusive = inclusive