equal
deleted
inserted
replaced
13 New repo should not use SQLite by default |
13 New repo should not use SQLite by default |
14 |
14 |
15 $ hg init empty-no-sqlite |
15 $ hg init empty-no-sqlite |
16 $ cat empty-no-sqlite/.hg/requires |
16 $ cat empty-no-sqlite/.hg/requires |
17 dotencode |
17 dotencode |
18 exp-rc-dirstate-v2 (dirstate-v2 !) |
18 dirstate-v2 (dirstate-v2 !) |
19 fncache |
19 fncache |
20 generaldelta |
20 generaldelta |
21 persistent-nodemap (rust !) |
21 persistent-nodemap (rust !) |
22 revlog-compression-zstd (zstd !) |
22 revlog-compression-zstd (zstd !) |
23 revlogv1 |
23 revlogv1 |
27 storage.new-repo-backend=sqlite is recognized |
27 storage.new-repo-backend=sqlite is recognized |
28 |
28 |
29 $ hg --config storage.new-repo-backend=sqlite init empty-sqlite |
29 $ hg --config storage.new-repo-backend=sqlite init empty-sqlite |
30 $ cat empty-sqlite/.hg/requires |
30 $ cat empty-sqlite/.hg/requires |
31 dotencode |
31 dotencode |
32 exp-rc-dirstate-v2 (dirstate-v2 !) |
32 dirstate-v2 (dirstate-v2 !) |
33 exp-sqlite-001 |
33 exp-sqlite-001 |
34 exp-sqlite-comp-001=zstd (zstd !) |
34 exp-sqlite-comp-001=zstd (zstd !) |
35 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ (no-zstd !) |
35 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ (no-zstd !) |
36 fncache |
36 fncache |
37 generaldelta |
37 generaldelta |
49 Can force compression to zlib |
49 Can force compression to zlib |
50 |
50 |
51 $ hg --config storage.sqlite.compression=zlib init empty-zlib |
51 $ hg --config storage.sqlite.compression=zlib init empty-zlib |
52 $ cat empty-zlib/.hg/requires |
52 $ cat empty-zlib/.hg/requires |
53 dotencode |
53 dotencode |
54 exp-rc-dirstate-v2 (dirstate-v2 !) |
54 dirstate-v2 (dirstate-v2 !) |
55 exp-sqlite-001 |
55 exp-sqlite-001 |
56 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ |
56 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ |
57 fncache |
57 fncache |
58 generaldelta |
58 generaldelta |
59 persistent-nodemap (rust !) |
59 persistent-nodemap (rust !) |
65 Can force compression to none |
65 Can force compression to none |
66 |
66 |
67 $ hg --config storage.sqlite.compression=none init empty-none |
67 $ hg --config storage.sqlite.compression=none init empty-none |
68 $ cat empty-none/.hg/requires |
68 $ cat empty-none/.hg/requires |
69 dotencode |
69 dotencode |
70 exp-rc-dirstate-v2 (dirstate-v2 !) |
70 dirstate-v2 (dirstate-v2 !) |
71 exp-sqlite-001 |
71 exp-sqlite-001 |
72 exp-sqlite-comp-001=none |
72 exp-sqlite-comp-001=none |
73 fncache |
73 fncache |
74 generaldelta |
74 generaldelta |
75 persistent-nodemap (rust !) |
75 persistent-nodemap (rust !) |