Mercurial > hg
comparison tests/test-repo-compengines.t @ 40905:4fe18205bbdb
test: enable sparse-revlog for test-repo-compengines.t
We are about to enable sparse-revlog globally. To help with reviewing the
tests change, we isolate them in individual changesets.
Differential Revision: https://phab.mercurial-scm.org/D5332
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 12 Nov 2018 01:15:21 +0100 |
parents | c2c8962a9465 |
children | a0886a4d6dce |
comparison
equal
deleted
inserted
replaced
40904:b2b8afd66f78 | 40905:4fe18205bbdb |
---|---|
1 TRANSITIONAL CONFIG | |
2 $ cat << EOF >> $HGRCPATH | |
3 > [format] | |
4 > sparse-revlog = yes | |
5 > EOF | |
6 | |
1 A new repository uses zlib storage, which doesn't need a requirement | 7 A new repository uses zlib storage, which doesn't need a requirement |
2 | 8 |
3 $ hg init default | 9 $ hg init default |
4 $ cd default | 10 $ cd default |
5 $ cat .hg/requires | 11 $ cat .hg/requires |
6 dotencode | 12 dotencode |
7 fncache | 13 fncache |
8 generaldelta | 14 generaldelta |
9 revlogv1 | 15 revlogv1 |
16 sparserevlog | |
10 store | 17 store |
11 testonly-simplestore (reposimplestore !) | 18 testonly-simplestore (reposimplestore !) |
12 | 19 |
13 $ touch foo | 20 $ touch foo |
14 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text to trigger compression' | 21 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text to trigger compression' |
45 dotencode | 52 dotencode |
46 exp-compression-zstd | 53 exp-compression-zstd |
47 fncache | 54 fncache |
48 generaldelta | 55 generaldelta |
49 revlogv1 | 56 revlogv1 |
57 sparserevlog | |
50 store | 58 store |
51 testonly-simplestore (reposimplestore !) | 59 testonly-simplestore (reposimplestore !) |
52 | 60 |
53 $ touch foo | 61 $ touch foo |
54 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text' | 62 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text' |
69 $ cat .hg/requires | 77 $ cat .hg/requires |
70 dotencode | 78 dotencode |
71 fncache | 79 fncache |
72 generaldelta | 80 generaldelta |
73 revlogv1 | 81 revlogv1 |
82 sparserevlog | |
74 store | 83 store |
75 testonly-simplestore (reposimplestore !) | 84 testonly-simplestore (reposimplestore !) |
76 | 85 |
77 $ hg debugrevlog -c | grep 0x78 | 86 $ hg debugrevlog -c | grep 0x78 |
78 0x78 (x) : 2 (100.00%) | 87 0x78 (x) : 2 (100.00%) |