tests/test-revlog-ancestry.py
changeset 16868 eb88ed4269c5
parent 16867 1093ad1e8903
child 18081 f88c60e740a1
--- a/tests/test-revlog-ancestry.py	Fri Jun 01 12:45:16 2012 -0700
+++ b/tests/test-revlog-ancestry.py	Fri Jun 01 15:44:13 2012 -0700
@@ -58,6 +58,10 @@
     for r in repo.changelog.ancestors([5, 4]):
         print r,
 
+    print '\nAncestors of 7, stop at 6'
+    for r in repo.changelog.ancestors([7], 6):
+        print r,
+
     # Descendants
     print '\n\nDescendants of 5'
     for r in repo.changelog.descendants([5]):