tests/test-revlog-ancestry.py.out
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 12 Oct 2015 00:45:24 -0700
changeset 26603 517ffec37dee
parent 18081 f88c60e740a1
child 39490 b6db2e80a9ce
permissions -rw-r--r--
discovery: put trivial branch first Having the simple and tiny branch of the conditional first help readability. The "else" that appears after a screen of code is harder to relate to a conditional.

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 
Ancestors of 7, including revs
7 6 5 3 4 2 1 0 
Ancestors of 7, 5 and 3, including revs
7 5 3 6 4 2 1 0 

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