Show More
@@ -1306,7 +1306,7 b' coreconfigitem(' | |||||
1306 | # Enable this dirstate format *when creating a new repository*. |
|
1306 | # Enable this dirstate format *when creating a new repository*. | |
1307 | # Which format to use for existing repos is controlled by .hg/requires |
|
1307 | # Which format to use for existing repos is controlled by .hg/requires | |
1308 | b'format', |
|
1308 | b'format', | |
1309 | b'exp-dirstate-v2', |
|
1309 | b'exp-rc-dirstate-v2', | |
1310 | default=False, |
|
1310 | default=False, | |
1311 | experimental=True, |
|
1311 | experimental=True, | |
1312 | ) |
|
1312 | ) | |
@@ -1880,7 +1880,7 b' coreconfigitem(' | |||||
1880 | default=b'skip', |
|
1880 | default=b'skip', | |
1881 | experimental=True, |
|
1881 | experimental=True, | |
1882 | ) |
|
1882 | ) | |
1883 | # experimental as long as format.exp-dirstate-v2 is. |
|
1883 | # experimental as long as format.exp-rc-dirstate-v2 is. | |
1884 | coreconfigitem( |
|
1884 | coreconfigitem( | |
1885 | b'storage', |
|
1885 | b'storage', | |
1886 | b'dirstate-v2.slow-path', |
|
1886 | b'dirstate-v2.slow-path', |
@@ -1189,7 +1189,7 b' def resolverevlogstorevfsoptions(ui, req' | |||||
1189 | b"fast implementation." |
|
1189 | b"fast implementation." | |
1190 | ) |
|
1190 | ) | |
1191 | hint = _( |
|
1191 | hint = _( | |
1192 | b"check `hg help config.format.exp-dirstate-v2` " b"for details" |
|
1192 | b"check `hg help config.format.exp-rc-dirstate-v2` " b"for details" | |
1193 | ) |
|
1193 | ) | |
1194 | if not dirstate.HAS_FAST_DIRSTATE_V2: |
|
1194 | if not dirstate.HAS_FAST_DIRSTATE_V2: | |
1195 | if slow_path == b'warn': |
|
1195 | if slow_path == b'warn': | |
@@ -3630,9 +3630,9 b' def newreporequirements(ui, createopts):' | |||||
3630 | if ui.configbool(b'format', b'sparse-revlog'): |
|
3630 | if ui.configbool(b'format', b'sparse-revlog'): | |
3631 | requirements.add(requirementsmod.SPARSEREVLOG_REQUIREMENT) |
|
3631 | requirements.add(requirementsmod.SPARSEREVLOG_REQUIREMENT) | |
3632 |
|
3632 | |||
3633 | # experimental config: format.exp-dirstate-v2 |
|
3633 | # experimental config: format.exp-rc-dirstate-v2 | |
3634 | # Keep this logic in sync with `has_dirstate_v2()` in `tests/hghave.py` |
|
3634 | # Keep this logic in sync with `has_dirstate_v2()` in `tests/hghave.py` | |
3635 | if ui.configbool(b'format', b'exp-dirstate-v2'): |
|
3635 | if ui.configbool(b'format', b'exp-rc-dirstate-v2'): | |
3636 | requirements.add(requirementsmod.DIRSTATE_V2_REQUIREMENT) |
|
3636 | requirements.add(requirementsmod.DIRSTATE_V2_REQUIREMENT) | |
3637 |
|
3637 | |||
3638 | # experimental config: format.exp-use-copies-side-data-changeset |
|
3638 | # experimental config: format.exp-use-copies-side-data-changeset |
@@ -12,7 +12,7 b" DOTENCODE_REQUIREMENT = b'dotencode'" | |||||
12 | STORE_REQUIREMENT = b'store' |
|
12 | STORE_REQUIREMENT = b'store' | |
13 | FNCACHE_REQUIREMENT = b'fncache' |
|
13 | FNCACHE_REQUIREMENT = b'fncache' | |
14 |
|
14 | |||
15 |
DIRSTATE_V2_REQUIREMENT = b' |
|
15 | DIRSTATE_V2_REQUIREMENT = b'dirstate-v2' | |
16 |
|
16 | |||
17 | # When narrowing is finalized and no longer subject to format changes, |
|
17 | # When narrowing is finalized and no longer subject to format changes, | |
18 | # we should move this to just "narrow" or similar. |
|
18 | # we should move this to just "narrow" or similar. |
@@ -178,7 +178,9 b' class dirstatev2(requirementformatvarian' | |||||
178 |
|
178 | |||
179 | description = _( |
|
179 | description = _( | |
180 | b'version 1 of the dirstate file format requires ' |
|
180 | b'version 1 of the dirstate file format requires ' | |
181 | b'reading and parsing it all at once.' |
|
181 | b'reading and parsing it all at once.\n' | |
|
182 | b'Version 2 has a better structure,' | |||
|
183 | b'better information and lighter update mechanism' | |||
182 | ) |
|
184 | ) | |
183 |
|
185 | |||
184 | upgrademessage = _(b'"hg status" will be faster') |
|
186 | upgrademessage = _(b'"hg status" will be faster') |
@@ -92,7 +92,7 b' const SUPPORTED: &[&str] = &[' | |||||
92 |
|
92 | |||
93 | // Copied from mercurial/requirements.py: |
|
93 | // Copied from mercurial/requirements.py: | |
94 |
|
94 | |||
95 |
pub(crate) const DIRSTATE_V2_REQUIREMENT: &str = " |
|
95 | pub(crate) const DIRSTATE_V2_REQUIREMENT: &str = "dirstate-v2"; | |
96 |
|
96 | |||
97 | /// When narrowing is finalized and no longer subject to format changes, |
|
97 | /// When narrowing is finalized and no longer subject to format changes, | |
98 | /// we should move this to just "narrow" or similar. |
|
98 | /// we should move this to just "narrow" or similar. |
@@ -6,7 +6,7 b' Create a repository:' | |||||
6 | devel.all-warnings=true |
|
6 | devel.all-warnings=true | |
7 | devel.default-date=0 0 |
|
7 | devel.default-date=0 0 | |
8 | extensions.fsmonitor= (fsmonitor !) |
|
8 | extensions.fsmonitor= (fsmonitor !) | |
9 | format.exp-dirstate-v2=1 (dirstate-v2 !) |
|
9 | format.exp-rc-dirstate-v2=1 (dirstate-v2 !) | |
10 | largefiles.usercache=$TESTTMP/.cache/largefiles |
|
10 | largefiles.usercache=$TESTTMP/.cache/largefiles | |
11 | lfs.usercache=$TESTTMP/.cache/lfs |
|
11 | lfs.usercache=$TESTTMP/.cache/lfs | |
12 | ui.slash=True |
|
12 | ui.slash=True |
@@ -218,7 +218,7 b' check that local configs for the cached ' | |||||
218 | devel.all-warnings=true |
|
218 | devel.all-warnings=true | |
219 | devel.default-date=0 0 |
|
219 | devel.default-date=0 0 | |
220 | extensions.fsmonitor= (fsmonitor !) |
|
220 | extensions.fsmonitor= (fsmonitor !) | |
221 | format.exp-dirstate-v2=1 (dirstate-v2 !) |
|
221 | format.exp-rc-dirstate-v2=1 (dirstate-v2 !) | |
222 | largefiles.usercache=$TESTTMP/.cache/largefiles |
|
222 | largefiles.usercache=$TESTTMP/.cache/largefiles | |
223 | lfs.usercache=$TESTTMP/.cache/lfs |
|
223 | lfs.usercache=$TESTTMP/.cache/lfs | |
224 | ui.slash=True |
|
224 | ui.slash=True |
@@ -3,7 +3,7 b'' | |||||
3 | #if dirstate-v2 |
|
3 | #if dirstate-v2 | |
4 | $ cat >> $HGRCPATH << EOF |
|
4 | $ cat >> $HGRCPATH << EOF | |
5 | > [format] |
|
5 | > [format] | |
6 | > exp-dirstate-v2=1 |
|
6 | > exp-rc-dirstate-v2=1 | |
7 | > [storage] |
|
7 | > [storage] | |
8 | > dirstate-v2.slow-path=allow |
|
8 | > dirstate-v2.slow-path=allow | |
9 | > EOF |
|
9 | > EOF |
@@ -3,7 +3,7 b'' | |||||
3 | #if dirstate-v2 |
|
3 | #if dirstate-v2 | |
4 | $ cat >> $HGRCPATH << EOF |
|
4 | $ cat >> $HGRCPATH << EOF | |
5 | > [format] |
|
5 | > [format] | |
6 | > exp-dirstate-v2=1 |
|
6 | > exp-rc-dirstate-v2=1 | |
7 | > [storage] |
|
7 | > [storage] | |
8 | > dirstate-v2.slow-path=allow |
|
8 | > dirstate-v2.slow-path=allow | |
9 | > EOF |
|
9 | > EOF |
@@ -3,7 +3,7 b'' | |||||
3 | #if dirstate-v2 |
|
3 | #if dirstate-v2 | |
4 | $ cat >> $HGRCPATH << EOF |
|
4 | $ cat >> $HGRCPATH << EOF | |
5 | > [format] |
|
5 | > [format] | |
6 | > exp-dirstate-v2=1 |
|
6 | > exp-rc-dirstate-v2=1 | |
7 | > [storage] |
|
7 | > [storage] | |
8 | > dirstate-v2.slow-path=allow |
|
8 | > dirstate-v2.slow-path=allow | |
9 | > EOF |
|
9 | > EOF |
@@ -3,7 +3,7 b'' | |||||
3 | #if dirstate-v2 |
|
3 | #if dirstate-v2 | |
4 | $ cat >> $HGRCPATH << EOF |
|
4 | $ cat >> $HGRCPATH << EOF | |
5 | > [format] |
|
5 | > [format] | |
6 | > exp-dirstate-v2=1 |
|
6 | > exp-rc-dirstate-v2=1 | |
7 | > [storage] |
|
7 | > [storage] | |
8 | > dirstate-v2.slow-path=allow |
|
8 | > dirstate-v2.slow-path=allow | |
9 | > EOF |
|
9 | > EOF |
@@ -19,7 +19,7 b" creating 'local'" | |||||
19 | store created |
|
19 | store created | |
20 | 00changelog.i created |
|
20 | 00changelog.i created | |
21 | dotencode |
|
21 | dotencode | |
22 | exp-dirstate-v2 (dirstate-v2 !) |
|
22 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
23 | fncache |
|
23 | fncache | |
24 | generaldelta |
|
24 | generaldelta | |
25 | persistent-nodemap (rust !) |
|
25 | persistent-nodemap (rust !) | |
@@ -61,7 +61,7 b' creating repo with format.usestore=false' | |||||
61 |
|
61 | |||
62 | $ hg --config format.usestore=false init old |
|
62 | $ hg --config format.usestore=false init old | |
63 | $ checknewrepo old |
|
63 | $ checknewrepo old | |
64 | exp-dirstate-v2 (dirstate-v2 !) |
|
64 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
65 | generaldelta |
|
65 | generaldelta | |
66 | persistent-nodemap (rust !) |
|
66 | persistent-nodemap (rust !) | |
67 | revlog-compression-zstd (zstd !) |
|
67 | revlog-compression-zstd (zstd !) | |
@@ -75,7 +75,7 b' creating repo with format.usefncache=fal' | |||||
75 | $ checknewrepo old2 |
|
75 | $ checknewrepo old2 | |
76 | store created |
|
76 | store created | |
77 | 00changelog.i created |
|
77 | 00changelog.i created | |
78 | exp-dirstate-v2 (dirstate-v2 !) |
|
78 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
79 | generaldelta |
|
79 | generaldelta | |
80 | persistent-nodemap (rust !) |
|
80 | persistent-nodemap (rust !) | |
81 | revlog-compression-zstd (zstd !) |
|
81 | revlog-compression-zstd (zstd !) | |
@@ -90,7 +90,7 b' creating repo with format.dotencode=fals' | |||||
90 | $ checknewrepo old3 |
|
90 | $ checknewrepo old3 | |
91 | store created |
|
91 | store created | |
92 | 00changelog.i created |
|
92 | 00changelog.i created | |
93 | exp-dirstate-v2 (dirstate-v2 !) |
|
93 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
94 | fncache |
|
94 | fncache | |
95 | generaldelta |
|
95 | generaldelta | |
96 | persistent-nodemap (rust !) |
|
96 | persistent-nodemap (rust !) | |
@@ -107,7 +107,7 b' creating repo with format.dotencode=fals' | |||||
107 | store created |
|
107 | store created | |
108 | 00changelog.i created |
|
108 | 00changelog.i created | |
109 | dotencode |
|
109 | dotencode | |
110 | exp-dirstate-v2 (dirstate-v2 !) |
|
110 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
111 | fncache |
|
111 | fncache | |
112 | persistent-nodemap (rust !) |
|
112 | persistent-nodemap (rust !) | |
113 | revlog-compression-zstd (zstd !) |
|
113 | revlog-compression-zstd (zstd !) | |
@@ -226,7 +226,7 b" creating 'local/sub/repo'" | |||||
226 | store created |
|
226 | store created | |
227 | 00changelog.i created |
|
227 | 00changelog.i created | |
228 | dotencode |
|
228 | dotencode | |
229 | exp-dirstate-v2 (dirstate-v2 !) |
|
229 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
230 | fncache |
|
230 | fncache | |
231 | generaldelta |
|
231 | generaldelta | |
232 | persistent-nodemap (rust !) |
|
232 | persistent-nodemap (rust !) | |
@@ -249,7 +249,7 b' init should (for consistency with clone)' | |||||
249 | store created |
|
249 | store created | |
250 | 00changelog.i created |
|
250 | 00changelog.i created | |
251 | dotencode |
|
251 | dotencode | |
252 | exp-dirstate-v2 (dirstate-v2 !) |
|
252 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
253 | fncache |
|
253 | fncache | |
254 | generaldelta |
|
254 | generaldelta | |
255 | persistent-nodemap (rust !) |
|
255 | persistent-nodemap (rust !) | |
@@ -268,7 +268,7 b' verify that clone also expand urls' | |||||
268 | store created |
|
268 | store created | |
269 | 00changelog.i created |
|
269 | 00changelog.i created | |
270 | dotencode |
|
270 | dotencode | |
271 | exp-dirstate-v2 (dirstate-v2 !) |
|
271 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
272 | fncache |
|
272 | fncache | |
273 | generaldelta |
|
273 | generaldelta | |
274 | persistent-nodemap (rust !) |
|
274 | persistent-nodemap (rust !) |
@@ -96,7 +96,7 b' Test link+rename largefile codepath' | |||||
96 | "lfconvert" adds 'largefiles' to .hg/requires. |
|
96 | "lfconvert" adds 'largefiles' to .hg/requires. | |
97 | $ cat .hg/requires |
|
97 | $ cat .hg/requires | |
98 | dotencode |
|
98 | dotencode | |
99 | exp-dirstate-v2 (dirstate-v2 !) |
|
99 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
100 | fncache |
|
100 | fncache | |
101 | generaldelta |
|
101 | generaldelta | |
102 | largefiles |
|
102 | largefiles |
@@ -290,7 +290,7 b' The requirement is added to the destinat' | |||||
290 |
|
290 | |||
291 | $ cat .hg/requires |
|
291 | $ cat .hg/requires | |
292 | dotencode |
|
292 | dotencode | |
293 | exp-dirstate-v2 (dirstate-v2 !) |
|
293 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
294 | fncache |
|
294 | fncache | |
295 | generaldelta |
|
295 | generaldelta | |
296 | lfs |
|
296 | lfs |
@@ -24,7 +24,7 b' narrow clone a file, f10' | |||||
24 | $ cd narrow |
|
24 | $ cd narrow | |
25 | $ cat .hg/requires | grep -v generaldelta |
|
25 | $ cat .hg/requires | grep -v generaldelta | |
26 | dotencode |
|
26 | dotencode | |
27 | exp-dirstate-v2 (dirstate-v2 !) |
|
27 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
28 | fncache |
|
28 | fncache | |
29 | narrowhg-experimental |
|
29 | narrowhg-experimental | |
30 | persistent-nodemap (rust !) |
|
30 | persistent-nodemap (rust !) |
@@ -64,7 +64,7 b' Making sure we have the correct set of r' | |||||
64 | $ cat .hg/requires |
|
64 | $ cat .hg/requires | |
65 | dotencode (tree !) |
|
65 | dotencode (tree !) | |
66 | dotencode (flat-fncache !) |
|
66 | dotencode (flat-fncache !) | |
67 | exp-dirstate-v2 (dirstate-v2 !) |
|
67 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
68 | fncache (tree !) |
|
68 | fncache (tree !) | |
69 | fncache (flat-fncache !) |
|
69 | fncache (flat-fncache !) | |
70 | generaldelta |
|
70 | generaldelta |
@@ -40,7 +40,7 b' narrow clone a file, f10' | |||||
40 | $ cd narrow |
|
40 | $ cd narrow | |
41 | $ cat .hg/requires | grep -v generaldelta |
|
41 | $ cat .hg/requires | grep -v generaldelta | |
42 | dotencode |
|
42 | dotencode | |
43 | exp-dirstate-v2 (dirstate-v2 !) |
|
43 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
44 | fncache |
|
44 | fncache | |
45 | narrowhg-experimental |
|
45 | narrowhg-experimental | |
46 | persistent-nodemap (rust !) |
|
46 | persistent-nodemap (rust !) |
@@ -58,7 +58,7 b' XXX: we should have a flag in `hg debugs' | |||||
58 |
|
58 | |||
59 | $ cat .hg/requires |
|
59 | $ cat .hg/requires | |
60 | dotencode |
|
60 | dotencode | |
61 | exp-dirstate-v2 (dirstate-v2 !) |
|
61 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
62 | fncache |
|
62 | fncache | |
63 | generaldelta |
|
63 | generaldelta | |
64 | narrowhg-experimental |
|
64 | narrowhg-experimental |
@@ -5,7 +5,7 b'' | |||||
5 | #if dirstate-v2 |
|
5 | #if dirstate-v2 | |
6 | $ cat >> $HGRCPATH << EOF |
|
6 | $ cat >> $HGRCPATH << EOF | |
7 | > [format] |
|
7 | > [format] | |
8 | > exp-dirstate-v2=1 |
|
8 | > exp-rc-dirstate-v2=1 | |
9 | > [storage] |
|
9 | > [storage] | |
10 | > dirstate-v2.slow-path=allow |
|
10 | > dirstate-v2.slow-path=allow | |
11 | > EOF |
|
11 | > EOF |
@@ -800,7 +800,7 b' downgrading' | |||||
800 | requirements |
|
800 | requirements | |
801 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !) |
|
801 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !) | |
802 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !) |
|
802 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !) | |
803 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !) |
|
803 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !) | |
804 | removed: persistent-nodemap |
|
804 | removed: persistent-nodemap | |
805 |
|
805 | |||
806 | processed revlogs: |
|
806 | processed revlogs: | |
@@ -844,7 +844,7 b' upgrading' | |||||
844 | requirements |
|
844 | requirements | |
845 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !) |
|
845 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !) | |
846 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !) |
|
846 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !) | |
847 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !) |
|
847 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !) | |
848 | added: persistent-nodemap |
|
848 | added: persistent-nodemap | |
849 |
|
849 | |||
850 | processed revlogs: |
|
850 | processed revlogs: | |
@@ -876,7 +876,7 b' Running unrelated upgrade' | |||||
876 | requirements |
|
876 | requirements | |
877 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !) |
|
877 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !) | |
878 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !) |
|
878 | preserved: dotencode, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !) | |
879 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !) |
|
879 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !) | |
880 |
|
880 | |||
881 | optimisations: re-delta-all |
|
881 | optimisations: re-delta-all | |
882 |
|
882 |
@@ -884,7 +884,7 b' Check we deny its usage on older reposit' | |||||
884 | $ cd no-internal-phase |
|
884 | $ cd no-internal-phase | |
885 | $ cat .hg/requires |
|
885 | $ cat .hg/requires | |
886 | dotencode |
|
886 | dotencode | |
887 | exp-dirstate-v2 (dirstate-v2 !) |
|
887 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
888 | fncache |
|
888 | fncache | |
889 | generaldelta |
|
889 | generaldelta | |
890 | persistent-nodemap (rust !) |
|
890 | persistent-nodemap (rust !) | |
@@ -913,7 +913,7 b' Check it works fine with repository that' | |||||
913 | $ cd internal-phase |
|
913 | $ cd internal-phase | |
914 | $ cat .hg/requires |
|
914 | $ cat .hg/requires | |
915 | dotencode |
|
915 | dotencode | |
916 | exp-dirstate-v2 (dirstate-v2 !) |
|
916 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
917 | fncache |
|
917 | fncache | |
918 | generaldelta |
|
918 | generaldelta | |
919 | internal-phase |
|
919 | internal-phase |
@@ -3,7 +3,7 b'' | |||||
3 | #if dirstate-v2 |
|
3 | #if dirstate-v2 | |
4 | $ cat >> $HGRCPATH << EOF |
|
4 | $ cat >> $HGRCPATH << EOF | |
5 | > [format] |
|
5 | > [format] | |
6 | > exp-dirstate-v2=1 |
|
6 | > exp-rc-dirstate-v2=1 | |
7 | > [storage] |
|
7 | > [storage] | |
8 | > dirstate-v2.slow-path=allow |
|
8 | > dirstate-v2.slow-path=allow | |
9 | > EOF |
|
9 | > EOF |
@@ -27,7 +27,7 b'' | |||||
27 | $ cd shallow |
|
27 | $ cd shallow | |
28 | $ cat .hg/requires |
|
28 | $ cat .hg/requires | |
29 | dotencode |
|
29 | dotencode | |
30 | exp-dirstate-v2 (dirstate-v2 !) |
|
30 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
31 | exp-remotefilelog-repo-req-1 |
|
31 | exp-remotefilelog-repo-req-1 | |
32 | fncache |
|
32 | fncache | |
33 | generaldelta |
|
33 | generaldelta | |
@@ -71,7 +71,7 b'' | |||||
71 | $ cd shallow2 |
|
71 | $ cd shallow2 | |
72 | $ cat .hg/requires |
|
72 | $ cat .hg/requires | |
73 | dotencode |
|
73 | dotencode | |
74 | exp-dirstate-v2 (dirstate-v2 !) |
|
74 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
75 | exp-remotefilelog-repo-req-1 |
|
75 | exp-remotefilelog-repo-req-1 | |
76 | fncache |
|
76 | fncache | |
77 | generaldelta |
|
77 | generaldelta | |
@@ -115,7 +115,7 b'' | |||||
115 | $ ls shallow3/.hg/store/data |
|
115 | $ ls shallow3/.hg/store/data | |
116 | $ cat shallow3/.hg/requires |
|
116 | $ cat shallow3/.hg/requires | |
117 | dotencode |
|
117 | dotencode | |
118 | exp-dirstate-v2 (dirstate-v2 !) |
|
118 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
119 | exp-remotefilelog-repo-req-1 |
|
119 | exp-remotefilelog-repo-req-1 | |
120 | fncache |
|
120 | fncache | |
121 | generaldelta |
|
121 | generaldelta |
@@ -24,7 +24,7 b'' | |||||
24 | $ cd shallow |
|
24 | $ cd shallow | |
25 | $ cat .hg/requires |
|
25 | $ cat .hg/requires | |
26 | dotencode |
|
26 | dotencode | |
27 | exp-dirstate-v2 (dirstate-v2 !) |
|
27 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
28 | exp-remotefilelog-repo-req-1 |
|
28 | exp-remotefilelog-repo-req-1 | |
29 | fncache |
|
29 | fncache | |
30 | generaldelta |
|
30 | generaldelta | |
@@ -61,7 +61,7 b'' | |||||
61 | $ cd shallow2 |
|
61 | $ cd shallow2 | |
62 | $ cat .hg/requires |
|
62 | $ cat .hg/requires | |
63 | dotencode |
|
63 | dotencode | |
64 | exp-dirstate-v2 (dirstate-v2 !) |
|
64 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
65 | exp-remotefilelog-repo-req-1 |
|
65 | exp-remotefilelog-repo-req-1 | |
66 | fncache |
|
66 | fncache | |
67 | generaldelta |
|
67 | generaldelta | |
@@ -113,7 +113,7 b' check its contents separately.' | |||||
113 | $ ls shallow3/.hg/store/data |
|
113 | $ ls shallow3/.hg/store/data | |
114 | $ cat shallow3/.hg/requires |
|
114 | $ cat shallow3/.hg/requires | |
115 | dotencode |
|
115 | dotencode | |
116 | exp-dirstate-v2 (dirstate-v2 !) |
|
116 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
117 | exp-remotefilelog-repo-req-1 |
|
117 | exp-remotefilelog-repo-req-1 | |
118 | fncache |
|
118 | fncache | |
119 | generaldelta |
|
119 | generaldelta |
@@ -27,7 +27,7 b' Shallow clone from full' | |||||
27 | $ cd shallow |
|
27 | $ cd shallow | |
28 | $ cat .hg/requires |
|
28 | $ cat .hg/requires | |
29 | dotencode |
|
29 | dotencode | |
30 | exp-dirstate-v2 (dirstate-v2 !) |
|
30 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
31 | exp-remotefilelog-repo-req-1 |
|
31 | exp-remotefilelog-repo-req-1 | |
32 | fncache |
|
32 | fncache | |
33 | generaldelta |
|
33 | generaldelta |
@@ -11,7 +11,7 b' A new repository uses zlib storage, whic' | |||||
11 | $ cd default |
|
11 | $ cd default | |
12 | $ cat .hg/requires |
|
12 | $ cat .hg/requires | |
13 | dotencode |
|
13 | dotencode | |
14 | exp-dirstate-v2 (dirstate-v2 !) |
|
14 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
15 | fncache |
|
15 | fncache | |
16 | generaldelta |
|
16 | generaldelta | |
17 | persistent-nodemap (rust !) |
|
17 | persistent-nodemap (rust !) | |
@@ -61,7 +61,7 b' with that engine or a requirement' | |||||
61 |
|
61 | |||
62 | $ cat .hg/requires |
|
62 | $ cat .hg/requires | |
63 | dotencode |
|
63 | dotencode | |
64 | exp-dirstate-v2 (dirstate-v2 !) |
|
64 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
65 | fncache |
|
65 | fncache | |
66 | generaldelta |
|
66 | generaldelta | |
67 | persistent-nodemap (rust !) |
|
67 | persistent-nodemap (rust !) | |
@@ -81,7 +81,7 b' with that engine or a requirement' | |||||
81 | $ cd zstd |
|
81 | $ cd zstd | |
82 | $ cat .hg/requires |
|
82 | $ cat .hg/requires | |
83 | dotencode |
|
83 | dotencode | |
84 | exp-dirstate-v2 (dirstate-v2 !) |
|
84 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
85 | fncache |
|
85 | fncache | |
86 | generaldelta |
|
86 | generaldelta | |
87 | persistent-nodemap (rust !) |
|
87 | persistent-nodemap (rust !) | |
@@ -186,7 +186,7 b' checking details of none compression' | |||||
186 | $ cat none-compression/.hg/requires |
|
186 | $ cat none-compression/.hg/requires | |
187 | dotencode |
|
187 | dotencode | |
188 | exp-compression-none |
|
188 | exp-compression-none | |
189 | exp-dirstate-v2 (dirstate-v2 !) |
|
189 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
190 | fncache |
|
190 | fncache | |
191 | generaldelta |
|
191 | generaldelta | |
192 | persistent-nodemap (rust !) |
|
192 | persistent-nodemap (rust !) |
@@ -50,7 +50,7 b' another repository of push/pull/clone on' | |||||
50 | > EOF |
|
50 | > EOF | |
51 | $ hg -R supported debugrequirements |
|
51 | $ hg -R supported debugrequirements | |
52 | dotencode |
|
52 | dotencode | |
53 | exp-dirstate-v2 (dirstate-v2 !) |
|
53 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
54 | featuresetup-test |
|
54 | featuresetup-test | |
55 | fncache |
|
55 | fncache | |
56 | generaldelta |
|
56 | generaldelta |
@@ -22,7 +22,7 b' Can create and open repo with revlog v2 ' | |||||
22 | $ cd new-repo |
|
22 | $ cd new-repo | |
23 | $ cat .hg/requires |
|
23 | $ cat .hg/requires | |
24 | dotencode |
|
24 | dotencode | |
25 | exp-dirstate-v2 (dirstate-v2 !) |
|
25 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
26 | exp-revlogv2.2 |
|
26 | exp-revlogv2.2 | |
27 | fncache |
|
27 | fncache | |
28 | generaldelta |
|
28 | generaldelta |
@@ -19,7 +19,7 b' prepare source repo' | |||||
19 | $ hg init source |
|
19 | $ hg init source | |
20 | $ cd source |
|
20 | $ cd source | |
21 | $ cat .hg/requires |
|
21 | $ cat .hg/requires | |
22 | exp-dirstate-v2 (dirstate-v2 !) |
|
22 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
23 | share-safe |
|
23 | share-safe | |
24 | $ cat .hg/store/requires |
|
24 | $ cat .hg/store/requires | |
25 | dotencode |
|
25 | dotencode | |
@@ -30,7 +30,7 b' prepare source repo' | |||||
30 | store |
|
30 | store | |
31 | $ hg debugrequirements |
|
31 | $ hg debugrequirements | |
32 | dotencode |
|
32 | dotencode | |
33 | exp-dirstate-v2 (dirstate-v2 !) |
|
33 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
34 | fncache |
|
34 | fncache | |
35 | generaldelta |
|
35 | generaldelta | |
36 | revlogv1 |
|
36 | revlogv1 | |
@@ -54,13 +54,13 b' Create a shared repo and check the requi' | |||||
54 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
54 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
55 | $ cd shared1 |
|
55 | $ cd shared1 | |
56 | $ cat .hg/requires |
|
56 | $ cat .hg/requires | |
57 | exp-dirstate-v2 (dirstate-v2 !) |
|
57 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
58 | share-safe |
|
58 | share-safe | |
59 | shared |
|
59 | shared | |
60 |
|
60 | |||
61 | $ hg debugrequirements -R ../source |
|
61 | $ hg debugrequirements -R ../source | |
62 | dotencode |
|
62 | dotencode | |
63 | exp-dirstate-v2 (dirstate-v2 !) |
|
63 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
64 | fncache |
|
64 | fncache | |
65 | generaldelta |
|
65 | generaldelta | |
66 | revlogv1 |
|
66 | revlogv1 | |
@@ -70,7 +70,7 b' Create a shared repo and check the requi' | |||||
70 |
|
70 | |||
71 | $ hg debugrequirements |
|
71 | $ hg debugrequirements | |
72 | dotencode |
|
72 | dotencode | |
73 | exp-dirstate-v2 (dirstate-v2 !) |
|
73 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
74 | fncache |
|
74 | fncache | |
75 | generaldelta |
|
75 | generaldelta | |
76 | revlogv1 |
|
76 | revlogv1 | |
@@ -225,7 +225,7 b' Disable zstd related tests because its n' | |||||
225 |
|
225 | |||
226 | requirements |
|
226 | requirements | |
227 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-dirstate-v2 !) |
|
227 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-dirstate-v2 !) | |
228 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (dirstate-v2 !) |
|
228 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (dirstate-v2 !) | |
229 | added: revlog-compression-zstd |
|
229 | added: revlog-compression-zstd | |
230 |
|
230 | |||
231 | processed revlogs: |
|
231 | processed revlogs: | |
@@ -253,8 +253,8 b' Disable zstd related tests because its n' | |||||
253 | requirements |
|
253 | requirements | |
254 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !) |
|
254 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd no-dirstate-v2 !) | |
255 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !) |
|
255 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd no-dirstate-v2 !) | |
256 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd dirstate-v2 !) |
|
256 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-zstd dirstate-v2 !) | |
257 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !) |
|
257 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlog-compression-zstd, revlogv1, share-safe, sparserevlog, store (zstd dirstate-v2 !) | |
258 | added: persistent-nodemap |
|
258 | added: persistent-nodemap | |
259 |
|
259 | |||
260 | processed revlogs: |
|
260 | processed revlogs: | |
@@ -327,7 +327,7 b' Test that upgrading using debugupgradere' | |||||
327 | $ cd non-share-safe |
|
327 | $ cd non-share-safe | |
328 | $ hg debugrequirements |
|
328 | $ hg debugrequirements | |
329 | dotencode |
|
329 | dotencode | |
330 | exp-dirstate-v2 (dirstate-v2 !) |
|
330 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
331 | fncache |
|
331 | fncache | |
332 | generaldelta |
|
332 | generaldelta | |
333 | revlogv1 |
|
333 | revlogv1 | |
@@ -346,7 +346,7 b' Create a share before upgrading' | |||||
346 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
346 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
347 | $ hg debugrequirements -R nss-share |
|
347 | $ hg debugrequirements -R nss-share | |
348 | dotencode |
|
348 | dotencode | |
349 | exp-dirstate-v2 (dirstate-v2 !) |
|
349 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
350 | fncache |
|
350 | fncache | |
351 | generaldelta |
|
351 | generaldelta | |
352 | revlogv1 |
|
352 | revlogv1 | |
@@ -360,7 +360,7 b' Upgrade' | |||||
360 | $ hg debugupgraderepo -q |
|
360 | $ hg debugupgraderepo -q | |
361 | requirements |
|
361 | requirements | |
362 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) |
|
362 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) | |
363 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) |
|
363 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) | |
364 | added: share-safe |
|
364 | added: share-safe | |
365 |
|
365 | |||
366 | processed revlogs: |
|
366 | processed revlogs: | |
@@ -373,7 +373,7 b' Upgrade' | |||||
373 |
|
373 | |||
374 | requirements |
|
374 | requirements | |
375 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) |
|
375 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) | |
376 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) |
|
376 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) | |
377 | added: share-safe |
|
377 | added: share-safe | |
378 |
|
378 | |||
379 | share-safe |
|
379 | share-safe | |
@@ -394,7 +394,7 b' Upgrade' | |||||
394 |
|
394 | |||
395 | $ hg debugrequirements |
|
395 | $ hg debugrequirements | |
396 | dotencode |
|
396 | dotencode | |
397 | exp-dirstate-v2 (dirstate-v2 !) |
|
397 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
398 | fncache |
|
398 | fncache | |
399 | generaldelta |
|
399 | generaldelta | |
400 | revlogv1 |
|
400 | revlogv1 | |
@@ -403,7 +403,7 b' Upgrade' | |||||
403 | store |
|
403 | store | |
404 |
|
404 | |||
405 | $ cat .hg/requires |
|
405 | $ cat .hg/requires | |
406 | exp-dirstate-v2 (dirstate-v2 !) |
|
406 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
407 | share-safe |
|
407 | share-safe | |
408 |
|
408 | |||
409 | $ cat .hg/store/requires |
|
409 | $ cat .hg/store/requires | |
@@ -454,7 +454,7 b' Test that downgrading works too' | |||||
454 | $ hg debugupgraderepo -q |
|
454 | $ hg debugupgraderepo -q | |
455 | requirements |
|
455 | requirements | |
456 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) |
|
456 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) | |
457 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) |
|
457 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) | |
458 | removed: share-safe |
|
458 | removed: share-safe | |
459 |
|
459 | |||
460 | processed revlogs: |
|
460 | processed revlogs: | |
@@ -467,7 +467,7 b' Test that downgrading works too' | |||||
467 |
|
467 | |||
468 | requirements |
|
468 | requirements | |
469 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) |
|
469 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) | |
470 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) |
|
470 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) | |
471 | removed: share-safe |
|
471 | removed: share-safe | |
472 |
|
472 | |||
473 | processed revlogs: |
|
473 | processed revlogs: | |
@@ -485,7 +485,7 b' Test that downgrading works too' | |||||
485 |
|
485 | |||
486 | $ hg debugrequirements |
|
486 | $ hg debugrequirements | |
487 | dotencode |
|
487 | dotencode | |
488 | exp-dirstate-v2 (dirstate-v2 !) |
|
488 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
489 | fncache |
|
489 | fncache | |
490 | generaldelta |
|
490 | generaldelta | |
491 | revlogv1 |
|
491 | revlogv1 | |
@@ -494,7 +494,7 b' Test that downgrading works too' | |||||
494 |
|
494 | |||
495 | $ cat .hg/requires |
|
495 | $ cat .hg/requires | |
496 | dotencode |
|
496 | dotencode | |
497 | exp-dirstate-v2 (dirstate-v2 !) |
|
497 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
498 | fncache |
|
498 | fncache | |
499 | generaldelta |
|
499 | generaldelta | |
500 | revlogv1 |
|
500 | revlogv1 | |
@@ -553,7 +553,7 b' Testing automatic upgrade of shares when' | |||||
553 |
|
553 | |||
554 | requirements |
|
554 | requirements | |
555 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) |
|
555 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store (no-dirstate-v2 !) | |
556 | preserved: dotencode, exp-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) |
|
556 | preserved: dotencode, exp-rc-dirstate-v2, fncache, generaldelta, revlogv1, sparserevlog, store (dirstate-v2 !) | |
557 | added: share-safe |
|
557 | added: share-safe | |
558 |
|
558 | |||
559 | processed revlogs: |
|
559 | processed revlogs: | |
@@ -564,7 +564,7 b' Testing automatic upgrade of shares when' | |||||
564 | repository upgraded to share safe mode, existing shares will still work in old non-safe mode. Re-share existing shares to use them in safe mode New shares will be created in safe mode. |
|
564 | repository upgraded to share safe mode, existing shares will still work in old non-safe mode. Re-share existing shares to use them in safe mode New shares will be created in safe mode. | |
565 | $ hg debugrequirements |
|
565 | $ hg debugrequirements | |
566 | dotencode |
|
566 | dotencode | |
567 | exp-dirstate-v2 (dirstate-v2 !) |
|
567 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
568 | fncache |
|
568 | fncache | |
569 | generaldelta |
|
569 | generaldelta | |
570 | revlogv1 |
|
570 | revlogv1 |
@@ -18,7 +18,7 b' Enable sparse profile' | |||||
18 |
|
18 | |||
19 | $ cat .hg/requires |
|
19 | $ cat .hg/requires | |
20 | dotencode |
|
20 | dotencode | |
21 | exp-dirstate-v2 (dirstate-v2 !) |
|
21 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
22 | fncache |
|
22 | fncache | |
23 | generaldelta |
|
23 | generaldelta | |
24 | persistent-nodemap (rust !) |
|
24 | persistent-nodemap (rust !) | |
@@ -38,7 +38,7 b' Requirement for sparse added when sparse' | |||||
38 |
|
38 | |||
39 | $ cat .hg/requires |
|
39 | $ cat .hg/requires | |
40 | dotencode |
|
40 | dotencode | |
41 | exp-dirstate-v2 (dirstate-v2 !) |
|
41 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
42 | exp-sparse |
|
42 | exp-sparse | |
43 | fncache |
|
43 | fncache | |
44 | generaldelta |
|
44 | generaldelta | |
@@ -61,7 +61,7 b' Requirement for sparse is removed when s' | |||||
61 |
|
61 | |||
62 | $ cat .hg/requires |
|
62 | $ cat .hg/requires | |
63 | dotencode |
|
63 | dotencode | |
64 | exp-dirstate-v2 (dirstate-v2 !) |
|
64 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
65 | fncache |
|
65 | fncache | |
66 | generaldelta |
|
66 | generaldelta | |
67 | persistent-nodemap (rust !) |
|
67 | persistent-nodemap (rust !) |
@@ -15,7 +15,7 b' New repo should not use SQLite by defaul' | |||||
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-dirstate-v2 (dirstate-v2 !) |
|
18 | exp-rc-dirstate-v2 (dirstate-v2 !) | |
19 | fncache |
|
19 | fncache | |
20 | generaldelta |
|
20 | generaldelta | |
21 | persistent-nodemap (rust !) |
|
21 | persistent-nodemap (rust !) | |
@@ -29,7 +29,7 b' storage.new-repo-backend=sqlite is recog' | |||||
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-dirstate-v2 (dirstate-v2 !) |
|
32 | exp-rc-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 !) | |
@@ -51,7 +51,7 b' Can force compression to zlib' | |||||
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-dirstate-v2 (dirstate-v2 !) |
|
54 | exp-rc-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 | |
@@ -67,7 +67,7 b' Can force compression to none' | |||||
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-dirstate-v2 (dirstate-v2 !) |
|
70 | exp-rc-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 |
@@ -3,7 +3,7 b'' | |||||
3 | #if dirstate-v2 |
|
3 | #if dirstate-v2 | |
4 | $ cat >> $HGRCPATH << EOF |
|
4 | $ cat >> $HGRCPATH << EOF | |
5 | > [format] |
|
5 | > [format] | |
6 | > exp-dirstate-v2=1 |
|
6 | > exp-rc-dirstate-v2=1 | |
7 | > [storage] |
|
7 | > [storage] | |
8 | > dirstate-v2.slow-path=allow |
|
8 | > dirstate-v2.slow-path=allow | |
9 | > EOF |
|
9 | > EOF |
@@ -48,12 +48,12 b' The extension requires a repo (currently' | |||||
48 | stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (no-zstd !) |
|
48 | stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (no-zstd !) | |
49 | stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (zstd no-rust !) |
|
49 | stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (zstd no-rust !) | |
50 | stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Cpersistent-nodemap%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (rust no-dirstate-v2 !) |
|
50 | stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Cpersistent-nodemap%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (rust no-dirstate-v2 !) | |
51 | stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cexp-dirstate-v2%2Cfncache%2Cgeneraldelta%2Cpersistent-nodemap%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (dirstate-v2 !) |
|
51 | stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cexp-rc-dirstate-v2%2Cfncache%2Cgeneraldelta%2Cpersistent-nodemap%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (dirstate-v2 !) | |
52 | $ hg debugbundle --spec bundle.hg |
|
52 | $ hg debugbundle --spec bundle.hg | |
53 | none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore (no-zstd !) |
|
53 | none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore (no-zstd !) | |
54 | none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore (zstd no-rust !) |
|
54 | none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore (zstd no-rust !) | |
55 | none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Cpersistent-nodemap%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore (rust no-dirstate-v2 !) |
|
55 | none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Cpersistent-nodemap%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore (rust no-dirstate-v2 !) | |
56 | none-v2;stream=v2;requirements%3Ddotencode%2Cexp-dirstate-v2%2Cfncache%2Cgeneraldelta%2Cpersistent-nodemap%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore (dirstate-v2 !) |
|
56 | none-v2;stream=v2;requirements%3Ddotencode%2Cexp-rc-dirstate-v2%2Cfncache%2Cgeneraldelta%2Cpersistent-nodemap%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore (dirstate-v2 !) | |
57 |
|
57 | |||
58 | Test that we can apply the bundle as a stream clone bundle |
|
58 | Test that we can apply the bundle as a stream clone bundle | |
59 |
|
59 |
@@ -5,7 +5,7 b'' | |||||
5 | #if dirstate-v2 |
|
5 | #if dirstate-v2 | |
6 | $ cat >> $HGRCPATH << EOF |
|
6 | $ cat >> $HGRCPATH << EOF | |
7 | > [format] |
|
7 | > [format] | |
8 | > exp-dirstate-v2=1 |
|
8 | > exp-rc-dirstate-v2=1 | |
9 | > [storage] |
|
9 | > [storage] | |
10 | > dirstate-v2.slow-path=allow |
|
10 | > dirstate-v2.slow-path=allow | |
11 | > EOF |
|
11 | > EOF |
@@ -1638,7 +1638,7 b' Demonstrate that nothing to perform upgr' | |||||
1638 |
|
1638 | |||
1639 | Upgrade to dirstate-v2 |
|
1639 | Upgrade to dirstate-v2 | |
1640 |
|
1640 | |||
1641 | $ hg debugformat -v --config format.exp-dirstate-v2=1 |
|
1641 | $ hg debugformat -v --config format.exp-rc-dirstate-v2=1 | |
1642 | format-variant repo config default |
|
1642 | format-variant repo config default | |
1643 | fncache: yes yes yes |
|
1643 | fncache: yes yes yes | |
1644 | dirstate-v2: no yes no |
|
1644 | dirstate-v2: no yes no | |
@@ -1653,12 +1653,12 b' Upgrade to dirstate-v2' | |||||
1653 | plain-cl-delta: yes yes yes |
|
1653 | plain-cl-delta: yes yes yes | |
1654 | compression: zstd zstd zstd |
|
1654 | compression: zstd zstd zstd | |
1655 | compression-level: default default default |
|
1655 | compression-level: default default default | |
1656 | $ hg debugupgraderepo --config format.exp-dirstate-v2=1 --run |
|
1656 | $ hg debugupgraderepo --config format.exp-rc-dirstate-v2=1 --run | |
1657 | upgrade will perform the following actions: |
|
1657 | upgrade will perform the following actions: | |
1658 |
|
1658 | |||
1659 | requirements |
|
1659 | requirements | |
1660 | preserved: dotencode, exp-revlogv2.2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store |
|
1660 | preserved: dotencode, exp-revlogv2.2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store | |
1661 |
added: |
|
1661 | added: dirstate-v2 | |
1662 |
|
1662 | |||
1663 | dirstate-v2 |
|
1663 | dirstate-v2 | |
1664 | "hg status" will be faster |
|
1664 | "hg status" will be faster | |
@@ -1703,7 +1703,7 b' Downgrade from dirstate-v2' | |||||
1703 |
|
1703 | |||
1704 | requirements |
|
1704 | requirements | |
1705 | preserved: dotencode, exp-revlogv2.2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store |
|
1705 | preserved: dotencode, exp-revlogv2.2, fncache, generaldelta, persistent-nodemap, revlog-compression-zstd, sparserevlog, store | |
1706 |
removed: |
|
1706 | removed: dirstate-v2 | |
1707 |
|
1707 | |||
1708 | processed revlogs: |
|
1708 | processed revlogs: | |
1709 | - all-filelogs |
|
1709 | - all-filelogs |
General Comments 0
You need to be logged in to leave comments.
Login now