mercurial/revlog.py
changeset 16866 91f3ac205816
parent 16834 cafd8a8fb713
child 16867 1093ad1e8903
--- a/mercurial/revlog.py	Tue May 29 23:26:55 2012 +0200
+++ b/mercurial/revlog.py	Fri Jun 01 12:37:18 2012 -0700
@@ -381,7 +381,7 @@
                     visit.append(p)
         return reachable
 
-    def ancestors(self, *revs):
+    def ancestors(self, revs):
         """Generate the ancestors of 'revs' in reverse topological order.
 
         Yield a sequence of revision numbers starting with the parents
@@ -441,7 +441,7 @@
         heads = [self.rev(n) for n in heads]
 
         # we want the ancestors, but inclusive
-        has = set(self.ancestors(*common))
+        has = set(self.ancestors(common))
         has.add(nullrev)
         has.update(common)