view tests/test-revlog-ancestry.py.out @ 17008:553e8f5aba7a

revlog: add incancestors, a version of ancestors that includes revs listed ancestors() returns the ancestors of revs provided. This func is like that except it also includes the revs themselves in the total set of revs generated.
author Joshua Redstone <joshua.redstone@fb.com>
date Fri, 08 Jun 2012 07:59:37 -0700
parents eb88ed4269c5
children f88c60e740a1
line wrap: on
line source

Ancestors of 5
4 2 0 
Ancestors of 6 and 5
3 4 2 1 0 
Ancestors of 5 and 4
4 2 0 
Ancestors of 7, stop at 6
6 

Descendants of 5
7 8 
Descendants of 5 and 3
6 7 8 
Descendants of 5 and 4
5 7 8