Mercurial > hg
comparison tests/test-ancestor.py.out @ 23329:c6cd4b8b76f8
test-ancestor: test iteration for lazyancestors
This has some test coverage in test-revlog-ancestry.py, but not very much.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 14 Nov 2014 14:50:03 -0800 |
parents | 731b2a90983b |
children | 3b1b8f25443e |
comparison
equal
deleted
inserted
replaced
23328:3a7d9c0c57a5 | 23329:c6cd4b8b76f8 |
---|---|
33 % ancestors of [10, 11, 12] and not of [13] | 33 % ancestors of [10, 11, 12] and not of [13] |
34 [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12] | 34 [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12] |
35 % ancestors of [13] and not of [10, 11, 12] | 35 % ancestors of [13] and not of [10, 11, 12] |
36 [8, 13] | 36 [8, 13] |
37 % lazy ancestor set for [], stoprev = 0, inclusive = False | 37 % lazy ancestor set for [], stoprev = 0, inclusive = False |
38 [] | 38 membership: [] |
39 iteration: [] | |
39 % lazy ancestor set for [11, 13], stoprev = 0, inclusive = False | 40 % lazy ancestor set for [11, 13], stoprev = 0, inclusive = False |
40 [7, 8, 3, 4, 1, 0] | 41 membership: [7, 8, 3, 4, 1, 0] |
42 iteration: [3, 7, 8, 1, 4, 0, 2] | |
41 % lazy ancestor set for [1, 3], stoprev = 0, inclusive = False | 43 % lazy ancestor set for [1, 3], stoprev = 0, inclusive = False |
42 [1, 0] | 44 membership: [1, 0] |
45 iteration: [0, 1] | |
43 % lazy ancestor set for [11, 13], stoprev = 0, inclusive = True | 46 % lazy ancestor set for [11, 13], stoprev = 0, inclusive = True |
44 [11, 13, 7, 8, 3, 4, 1, 0] | 47 membership: [11, 13, 7, 8, 3, 4, 1, 0] |
48 iteration: [11, 13, 3, 7, 8, 1, 4, 0, 2] | |
45 % lazy ancestor set for [11, 13], stoprev = 6, inclusive = False | 49 % lazy ancestor set for [11, 13], stoprev = 6, inclusive = False |
46 [7, 8] | 50 membership: [7, 8] |
51 iteration: [7, 8] | |
47 % lazy ancestor set for [11, 13], stoprev = 6, inclusive = True | 52 % lazy ancestor set for [11, 13], stoprev = 6, inclusive = True |
48 [11, 13, 7, 8] | 53 membership: [11, 13, 7, 8] |
54 iteration: [11, 13, 7, 8] |