Mercurial > hg
comparison tests/test-debugcommands.t @ 39153:9d6fab487c13
debugrevlog: display snapshot details per depth
This help in understanding the final structure of build manifest. All data
about snapshot (full and intermediate) are gathered into a sub-list for
clarity.
Since we do not produce such snapshots yet, the only thing changing in test
output is the way the information is presented.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 15 Aug 2018 12:30:30 +0200 |
parents | 07b82f55f351 |
children | 828a45233036 |
comparison
equal
deleted
inserted
replaced
39152:3b1042cab4b4 | 39153:9d6fab487c13 |
---|---|
24 normal : 3 (100.00%) | 24 normal : 3 (100.00%) |
25 revisions : 3 | 25 revisions : 3 |
26 empty : 0 ( 0.00%) | 26 empty : 0 ( 0.00%) |
27 text : 0 (100.00%) | 27 text : 0 (100.00%) |
28 delta : 0 (100.00%) | 28 delta : 0 (100.00%) |
29 full : 3 (100.00%) | 29 snapshot : 3 (100.00%) |
30 inter : 0 ( 0.00%) | 30 lvl-0 : 3 (100.00%) |
31 deltas : 0 ( 0.00%) | 31 deltas : 0 ( 0.00%) |
32 revision size : 191 | 32 revision size : 191 |
33 full : 191 (100.00%) | 33 snapshot : 191 (100.00%) |
34 inter : 0 ( 0.00%) | 34 lvl-0 : 191 (100.00%) |
35 deltas : 0 ( 0.00%) | 35 deltas : 0 ( 0.00%) |
36 | 36 |
37 chunks : 3 | 37 chunks : 3 |
38 0x75 (u) : 3 (100.00%) | 38 0x75 (u) : 3 (100.00%) |
39 chunks size : 191 | 39 chunks size : 191 |
44 max chain reach : 67 | 44 max chain reach : 67 |
45 compression ratio : 0 | 45 compression ratio : 0 |
46 | 46 |
47 uncompressed data size (min/max/avg) : 57 / 66 / 62 | 47 uncompressed data size (min/max/avg) : 57 / 66 / 62 |
48 full revision size (min/max/avg) : 58 / 67 / 63 | 48 full revision size (min/max/avg) : 58 / 67 / 63 |
49 inter-snapshot size (min/max/avg) : 0 / 0 / 0 | |
49 delta size (min/max/avg) : 0 / 0 / 0 | 50 delta size (min/max/avg) : 0 / 0 / 0 |
50 $ hg debugrevlog -m | 51 $ hg debugrevlog -m |
51 format : 1 | 52 format : 1 |
52 flags : inline, generaldelta | 53 flags : inline, generaldelta |
53 | 54 |
56 normal : 3 (100.00%) | 57 normal : 3 (100.00%) |
57 revisions : 3 | 58 revisions : 3 |
58 empty : 1 (33.33%) | 59 empty : 1 (33.33%) |
59 text : 1 (100.00%) | 60 text : 1 (100.00%) |
60 delta : 0 ( 0.00%) | 61 delta : 0 ( 0.00%) |
61 full : 2 (66.67%) | 62 snapshot : 2 (66.67%) |
62 inter : 0 ( 0.00%) | 63 lvl-0 : 2 (66.67%) |
63 deltas : 0 ( 0.00%) | 64 deltas : 0 ( 0.00%) |
64 revision size : 88 | 65 revision size : 88 |
65 full : 88 (100.00%) | 66 snapshot : 88 (100.00%) |
66 inter : 0 ( 0.00%) | 67 lvl-0 : 88 (100.00%) |
67 deltas : 0 ( 0.00%) | 68 deltas : 0 ( 0.00%) |
68 | 69 |
69 chunks : 3 | 70 chunks : 3 |
70 empty : 1 (33.33%) | 71 empty : 1 (33.33%) |
71 0x75 (u) : 2 (66.67%) | 72 0x75 (u) : 2 (66.67%) |
78 max chain reach : 44 | 79 max chain reach : 44 |
79 compression ratio : 0 | 80 compression ratio : 0 |
80 | 81 |
81 uncompressed data size (min/max/avg) : 0 / 43 / 28 | 82 uncompressed data size (min/max/avg) : 0 / 43 / 28 |
82 full revision size (min/max/avg) : 44 / 44 / 44 | 83 full revision size (min/max/avg) : 44 / 44 / 44 |
84 inter-snapshot size (min/max/avg) : 0 / 0 / 0 | |
83 delta size (min/max/avg) : 0 / 0 / 0 | 85 delta size (min/max/avg) : 0 / 0 / 0 |
84 $ hg debugrevlog a | 86 $ hg debugrevlog a |
85 format : 1 | 87 format : 1 |
86 flags : inline, generaldelta | 88 flags : inline, generaldelta |
87 | 89 |
90 normal : 1 (100.00%) | 92 normal : 1 (100.00%) |
91 revisions : 1 | 93 revisions : 1 |
92 empty : 0 ( 0.00%) | 94 empty : 0 ( 0.00%) |
93 text : 0 (100.00%) | 95 text : 0 (100.00%) |
94 delta : 0 (100.00%) | 96 delta : 0 (100.00%) |
95 full : 1 (100.00%) | 97 snapshot : 1 (100.00%) |
96 inter : 0 ( 0.00%) | 98 lvl-0 : 1 (100.00%) |
97 deltas : 0 ( 0.00%) | 99 deltas : 0 ( 0.00%) |
98 revision size : 3 | 100 revision size : 3 |
99 full : 3 (100.00%) | 101 snapshot : 3 (100.00%) |
100 inter : 0 ( 0.00%) | 102 lvl-0 : 3 (100.00%) |
101 deltas : 0 ( 0.00%) | 103 deltas : 0 ( 0.00%) |
102 | 104 |
103 chunks : 1 | 105 chunks : 1 |
104 0x75 (u) : 1 (100.00%) | 106 0x75 (u) : 1 (100.00%) |
105 chunks size : 3 | 107 chunks size : 3 |
110 max chain reach : 3 | 112 max chain reach : 3 |
111 compression ratio : 0 | 113 compression ratio : 0 |
112 | 114 |
113 uncompressed data size (min/max/avg) : 2 / 2 / 2 | 115 uncompressed data size (min/max/avg) : 2 / 2 / 2 |
114 full revision size (min/max/avg) : 3 / 3 / 3 | 116 full revision size (min/max/avg) : 3 / 3 / 3 |
117 inter-snapshot size (min/max/avg) : 0 / 0 / 0 | |
115 delta size (min/max/avg) : 0 / 0 / 0 | 118 delta size (min/max/avg) : 0 / 0 / 0 |
116 #endif | 119 #endif |
117 | 120 |
118 Test debugindex, with and without the --verbose/--debug flag | 121 Test debugindex, with and without the --verbose/--debug flag |
119 $ hg debugindex a | 122 $ hg debugindex a |