mercurial/revlog.py
changeset 18986 2f7186400a07
parent 18585 b280f3bfc8a0
child 18987 3605d4e7e618
--- a/mercurial/revlog.py	Mon Apr 15 01:59:11 2013 +0200
+++ b/mercurial/revlog.py	Tue Apr 16 10:08:18 2013 -0700
@@ -711,10 +711,7 @@
         if self.descendant(start, end):
             return self.node(start)
 
-        def parents(rev):
-            return [p for p in self.parentrevs(rev) if p != nullrev]
-
-        c = ancestor.ancestor(a, b, parents)
+        c = ancestor.ancestor(a, b, self.parentrevs)
         if c is None:
             return nullid