tests/test-revlog-ancestry.py
changeset 16866 91f3ac205816
parent 11303 a1aad8333864
child 16867 1093ad1e8903
--- a/tests/test-revlog-ancestry.py	Tue May 29 23:26:55 2012 +0200
+++ b/tests/test-revlog-ancestry.py	Fri Jun 01 12:37:18 2012 -0700
@@ -47,15 +47,15 @@
 
     # Ancestors
     print 'Ancestors of 5'
-    for r in repo.changelog.ancestors(5):
+    for r in repo.changelog.ancestors([5]):
         print r,
 
     print '\nAncestors of 6 and 5'
-    for r in repo.changelog.ancestors(6, 5):
+    for r in repo.changelog.ancestors([6, 5]):
         print r,
 
     print '\nAncestors of 5 and 4'
-    for r in repo.changelog.ancestors(5, 4):
+    for r in repo.changelog.ancestors([5, 4]):
         print r,
 
     # Descendants