equal
deleted
inserted
replaced
7 > EOF |
7 > EOF |
8 |
8 |
9 |
9 |
10 $ hg init default |
10 $ hg init default |
11 $ cd default |
11 $ cd default |
12 $ hg debugrequires |
12 $ hg debugrequires | grep compression |
13 dotencode |
13 [1] |
14 dirstate-v2 (dirstate-v2 !) |
|
15 fncache |
|
16 generaldelta |
|
17 persistent-nodemap (rust !) |
|
18 revlogv1 |
|
19 sparserevlog |
|
20 store |
|
21 testonly-simplestore (reposimplestore !) |
|
22 |
14 |
23 $ touch foo |
15 $ touch foo |
24 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text to trigger compression' |
16 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text to trigger compression' |
25 $ hg debugrevlog -c | grep 0x78 |
17 $ hg debugrevlog -c | grep 0x78 |
26 0x78 (x) : 1 (100.00%) |
18 0x78 (x) : 1 (100.00%) |
57 |
49 |
58 $ cd default |
50 $ cd default |
59 $ touch bar |
51 $ touch bar |
60 $ hg --config format.revlog-compression=none -q commit -A -m 'add bar with a lot of repeated repeated repeated text' |
52 $ hg --config format.revlog-compression=none -q commit -A -m 'add bar with a lot of repeated repeated repeated text' |
61 |
53 |
62 $ hg debugrequires |
54 $ hg debugrequires | grep compression |
63 dotencode |
55 [1] |
64 dirstate-v2 (dirstate-v2 !) |
|
65 fncache |
|
66 generaldelta |
|
67 persistent-nodemap (rust !) |
|
68 revlogv1 |
|
69 sparserevlog |
|
70 store |
|
71 testonly-simplestore (reposimplestore !) |
|
72 |
56 |
73 $ hg debugrevlog -c | grep 0x78 |
57 $ hg debugrevlog -c | grep 0x78 |
74 0x78 (x) : 2 (100.00%) |
58 0x78 (x) : 2 (100.00%) |
75 0x78 (x) : 199 (100.00%) |
59 0x78 (x) : 199 (100.00%) |
76 $ cd .. |
60 $ cd .. |
77 |
61 |
78 #if zstd |
62 #if zstd |
79 |
63 |
80 $ hg --config format.revlog-compression=zstd init zstd |
64 $ hg --config format.revlog-compression=zstd init zstd |
81 $ cd zstd |
65 $ cd zstd |
82 $ hg debugrequires |
66 $ hg debugrequires | grep compression |
83 dotencode |
|
84 dirstate-v2 (dirstate-v2 !) |
|
85 fncache |
|
86 generaldelta |
|
87 persistent-nodemap (rust !) |
|
88 revlog-compression-zstd |
67 revlog-compression-zstd |
89 revlogv1 |
|
90 sparserevlog |
|
91 store |
|
92 testonly-simplestore (reposimplestore !) |
|
93 |
68 |
94 $ touch foo |
69 $ touch foo |
95 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text' |
70 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text' |
96 |
71 |
97 $ hg debugrevlog -c | grep 0x28 |
72 $ hg debugrevlog -c | grep 0x28 |
181 user: test |
156 user: test |
182 date: Thu Jan 01 00:00:00 1970 +0000 |
157 date: Thu Jan 01 00:00:00 1970 +0000 |
183 summary: some-commit |
158 summary: some-commit |
184 |
159 |
185 |
160 |
186 $ hg debugrequires -R none-compression/ |
161 $ hg debugrequires -R none-compression/ | grep compression |
187 dotencode |
|
188 exp-compression-none |
162 exp-compression-none |
189 dirstate-v2 (dirstate-v2 !) |
|
190 fncache |
|
191 generaldelta |
|
192 persistent-nodemap (rust !) |
|
193 revlogv1 |
|
194 sparserevlog |
|
195 store |
|
196 testonly-simplestore (reposimplestore !) |
|
197 |
163 |
198 $ $RUNTESTDIR/f -s none-compression/.hg/store/data/* |
164 $ $RUNTESTDIR/f -s none-compression/.hg/store/data/* |
199 none-compression/.hg/store/data/a.i: size=4216 |
165 none-compression/.hg/store/data/a.i: size=4216 |
200 |
166 |
201 #if zstd |
167 #if zstd |