mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
e38b770424
This will be used as a step in removing reachable() in a future diff. Doing it now because bryano is in the process of rewriting ancestors in C. This depends on bryano's patch to replace *revs with revs in the declaration of revlog.ancestors.
16 lines
193 B
Plaintext
16 lines
193 B
Plaintext
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
|