Mercurial > hg
comparison tests/test-debugcommands.t @ 39148:1464183343b3
debugrevlog: fix for non-manifest object
The `filelog` object is no longer an actual revlog. Instead, the actual revlog
is stored in the `_revlog` attribute.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 15 Aug 2018 15:20:44 +0200 |
parents | a456c603a83d |
children | 07b82f55f351 |
comparison
equal
deleted
inserted
replaced
39147:b95b48a55c36 | 39148:1464183343b3 |
---|---|
13 $ hg ci -Am make-it-empty | 13 $ hg ci -Am make-it-empty |
14 $ hg revert --all -r 0 | 14 $ hg revert --all -r 0 |
15 adding a | 15 adding a |
16 $ hg ci -Am make-it-full | 16 $ hg ci -Am make-it-full |
17 #if reporevlogstore | 17 #if reporevlogstore |
18 $ hg debugrevlog -c | |
19 format : 1 | |
20 flags : inline | |
21 | |
22 revisions : 3 | |
23 merges : 0 ( 0.00%) | |
24 normal : 3 (100.00%) | |
25 revisions : 3 | |
26 empty : 0 ( 0.00%) | |
27 text : 0 (100.00%) | |
28 delta : 0 (100.00%) | |
29 full : 3 (100.00%) | |
30 deltas : 0 ( 0.00%) | |
31 revision size : 191 | |
32 full : 191 (100.00%) | |
33 deltas : 0 ( 0.00%) | |
34 | |
35 chunks : 3 | |
36 0x75 (u) : 3 (100.00%) | |
37 chunks size : 191 | |
38 0x75 (u) : 191 (100.00%) | |
39 | |
40 avg chain length : 0 | |
41 max chain length : 0 | |
42 max chain reach : 67 | |
43 compression ratio : 0 | |
44 | |
45 uncompressed data size (min/max/avg) : 57 / 66 / 62 | |
46 full revision size (min/max/avg) : 58 / 67 / 63 | |
47 delta size (min/max/avg) : 0 / 0 / 0 | |
18 $ hg debugrevlog -m | 48 $ hg debugrevlog -m |
19 format : 1 | 49 format : 1 |
20 flags : inline, generaldelta | 50 flags : inline, generaldelta |
21 | 51 |
22 revisions : 3 | 52 revisions : 3 |
44 max chain reach : 44 | 74 max chain reach : 44 |
45 compression ratio : 0 | 75 compression ratio : 0 |
46 | 76 |
47 uncompressed data size (min/max/avg) : 0 / 43 / 28 | 77 uncompressed data size (min/max/avg) : 0 / 43 / 28 |
48 full revision size (min/max/avg) : 44 / 44 / 44 | 78 full revision size (min/max/avg) : 44 / 44 / 44 |
79 delta size (min/max/avg) : 0 / 0 / 0 | |
80 $ hg debugrevlog a | |
81 format : 1 | |
82 flags : inline, generaldelta | |
83 | |
84 revisions : 1 | |
85 merges : 0 ( 0.00%) | |
86 normal : 1 (100.00%) | |
87 revisions : 1 | |
88 empty : 0 ( 0.00%) | |
89 text : 0 (100.00%) | |
90 delta : 0 (100.00%) | |
91 full : 1 (100.00%) | |
92 deltas : 0 ( 0.00%) | |
93 revision size : 3 | |
94 full : 3 (100.00%) | |
95 deltas : 0 ( 0.00%) | |
96 | |
97 chunks : 1 | |
98 0x75 (u) : 1 (100.00%) | |
99 chunks size : 3 | |
100 0x75 (u) : 3 (100.00%) | |
101 | |
102 avg chain length : 0 | |
103 max chain length : 0 | |
104 max chain reach : 3 | |
105 compression ratio : 0 | |
106 | |
107 uncompressed data size (min/max/avg) : 2 / 2 / 2 | |
108 full revision size (min/max/avg) : 3 / 3 / 3 | |
49 delta size (min/max/avg) : 0 / 0 / 0 | 109 delta size (min/max/avg) : 0 / 0 / 0 |
50 #endif | 110 #endif |
51 | 111 |
52 Test debugindex, with and without the --verbose/--debug flag | 112 Test debugindex, with and without the --verbose/--debug flag |
53 $ hg debugindex a | 113 $ hg debugindex a |