diff tests/test-revlog-ancestry.py.out @ 6872:c7cc40fd74f6

Add ancestors and descendants to revlog This patch adds two methods to revlog: - ancestors: given a list of revisions returns their ancestors - descendants: given a list of revisions return their descendants
author Stefano Tortarolo <stefano.tortarolo@gmail.com>
date Sat, 19 Jul 2008 18:19:50 +0200
parents
children eb88ed4269c5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-revlog-ancestry.py.out	Sat Jul 19 18:19:50 2008 +0200
@@ -0,0 +1,13 @@
+Ancestors of 5
+4 2 0 
+Ancestors of 6 and 5
+3 4 2 1 0 
+Ancestors of 5 and 4
+4 2 0 
+
+Descendants of 5
+7 8 
+Descendants of 5 and 3
+6 7 8 
+Descendants of 5 and 4
+5 7 8