mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
5388b1792f
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
14 lines
164 B
Plaintext
14 lines
164 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
|
|
|
|
Descendants of 5
|
|
7 8
|
|
Descendants of 5 and 3
|
|
6 7 8
|
|
Descendants of 5 and 4
|
|
5 7 8
|