Mercurial > hg
comparison tests/test-sqlitestore.t @ 40920:5014e93a5696
tests: add sparserevlog requirement to test-sqlitestore.t
Looks like this test was missed when enabling sparse revlogs by default.
Differential Revision: https://phab.mercurial-scm.org/D5402
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 10 Dec 2018 19:41:43 +0000 |
parents | 0a212b643277 |
children | e1643a0455c8 |
comparison
equal
deleted
inserted
replaced
40919:a0886a4d6dce | 40920:5014e93a5696 |
---|---|
11 $ cat empty-no-sqlite/.hg/requires | 11 $ cat empty-no-sqlite/.hg/requires |
12 dotencode | 12 dotencode |
13 fncache | 13 fncache |
14 generaldelta | 14 generaldelta |
15 revlogv1 | 15 revlogv1 |
16 sparserevlog | |
16 store | 17 store |
17 | 18 |
18 storage.new-repo-backend=sqlite is recognized | 19 storage.new-repo-backend=sqlite is recognized |
19 | 20 |
20 $ hg --config storage.new-repo-backend=sqlite init empty-sqlite | 21 $ hg --config storage.new-repo-backend=sqlite init empty-sqlite |
24 exp-sqlite-comp-001=zstd (zstd !) | 25 exp-sqlite-comp-001=zstd (zstd !) |
25 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ (no-zstd !) | 26 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ (no-zstd !) |
26 fncache | 27 fncache |
27 generaldelta | 28 generaldelta |
28 revlogv1 | 29 revlogv1 |
30 sparserevlog | |
29 store | 31 store |
30 | 32 |
31 $ cat >> $HGRCPATH << EOF | 33 $ cat >> $HGRCPATH << EOF |
32 > [storage] | 34 > [storage] |
33 > new-repo-backend = sqlite | 35 > new-repo-backend = sqlite |
41 exp-sqlite-001 | 43 exp-sqlite-001 |
42 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ | 44 exp-sqlite-comp-001=$BUNDLE2_COMPRESSIONS$ |
43 fncache | 45 fncache |
44 generaldelta | 46 generaldelta |
45 revlogv1 | 47 revlogv1 |
48 sparserevlog | |
46 store | 49 store |
47 | 50 |
48 Can force compression to none | 51 Can force compression to none |
49 | 52 |
50 $ hg --config storage.sqlite.compression=none init empty-none | 53 $ hg --config storage.sqlite.compression=none init empty-none |
53 exp-sqlite-001 | 56 exp-sqlite-001 |
54 exp-sqlite-comp-001=none | 57 exp-sqlite-comp-001=none |
55 fncache | 58 fncache |
56 generaldelta | 59 generaldelta |
57 revlogv1 | 60 revlogv1 |
61 sparserevlog | |
58 store | 62 store |
59 | 63 |
60 Can make a local commit | 64 Can make a local commit |
61 | 65 |
62 $ hg init local-commit | 66 $ hg init local-commit |