Mercurial > hg
comparison tests/test-revlog-v2.t @ 40906:27fa1d2bf484
test: enable sparse-revlog for test-revlog-v2.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/D5333
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 12 Nov 2018 01:15:37 +0100 |
parents | a6426dd3210d |
children | a0886a4d6dce |
comparison
equal
deleted
inserted
replaced
40905:4fe18205bbdb | 40906:27fa1d2bf484 |
---|---|
1 TRANSITIONAL CONFIG | |
2 $ cat << EOF >> $HGRCPATH | |
3 > [format] | |
4 > sparse-revlog = yes | |
5 > EOF | |
6 | |
1 #require reporevlogstore | 7 #require reporevlogstore |
2 | 8 |
3 A repo with unknown revlogv2 requirement string cannot be opened | 9 A repo with unknown revlogv2 requirement string cannot be opened |
4 | 10 |
5 $ hg init invalidreq | 11 $ hg init invalidreq |
22 $ cd empty-repo | 28 $ cd empty-repo |
23 $ cat .hg/requires | 29 $ cat .hg/requires |
24 dotencode | 30 dotencode |
25 exp-revlogv2.0 | 31 exp-revlogv2.0 |
26 fncache | 32 fncache |
33 sparserevlog | |
27 store | 34 store |
28 | 35 |
29 $ hg log | 36 $ hg log |
30 | 37 |
31 Unknown flags to revlog are rejected | 38 Unknown flags to revlog are rejected |