Show More
@@ -374,6 +374,21 b' class sidedata(requirementformatvariant)' | |||||
374 |
|
374 | |||
375 |
|
375 | |||
376 | @registerformatvariant |
|
376 | @registerformatvariant | |
|
377 | class persistentnodemap(requirementformatvariant): | |||
|
378 | name = b'persistent-nodemap' | |||
|
379 | ||||
|
380 | _requirement = localrepo.NODEMAP_REQUIREMENT | |||
|
381 | ||||
|
382 | default = False | |||
|
383 | ||||
|
384 | description = _( | |||
|
385 | b'persist the node -> rev mapping on disk to speedup lookup' | |||
|
386 | ) | |||
|
387 | ||||
|
388 | upgrademessage = _(b'Speedup revision lookup by node id.') | |||
|
389 | ||||
|
390 | ||||
|
391 | @registerformatvariant | |||
377 | class copiessdc(requirementformatvariant): |
|
392 | class copiessdc(requirementformatvariant): | |
378 | name = b'copies-sdc' |
|
393 | name = b'copies-sdc' | |
379 |
|
394 |
@@ -33,28 +33,30 b' Check that copies are recorded correctly' | |||||
33 | $ cd repo |
|
33 | $ cd repo | |
34 | #if sidedata |
|
34 | #if sidedata | |
35 | $ hg debugformat -v |
|
35 | $ hg debugformat -v | |
36 | format-variant repo config default |
|
36 | format-variant repo config default | |
37 | fncache: yes yes yes |
|
37 | fncache: yes yes yes | |
38 | dotencode: yes yes yes |
|
38 | dotencode: yes yes yes | |
39 | generaldelta: yes yes yes |
|
39 | generaldelta: yes yes yes | |
40 | sparserevlog: yes yes yes |
|
40 | sparserevlog: yes yes yes | |
41 | sidedata: yes yes no |
|
41 | sidedata: yes yes no | |
42 | copies-sdc: yes yes no |
|
42 | persistent-nodemap: no no no | |
43 |
|
|
43 | copies-sdc: yes yes no | |
44 | compression: zlib zlib zlib |
|
44 | plain-cl-delta: yes yes yes | |
45 | compression-level: default default default |
|
45 | compression: zlib zlib zlib | |
|
46 | compression-level: default default default | |||
46 | #else |
|
47 | #else | |
47 | $ hg debugformat -v |
|
48 | $ hg debugformat -v | |
48 | format-variant repo config default |
|
49 | format-variant repo config default | |
49 | fncache: yes yes yes |
|
50 | fncache: yes yes yes | |
50 | dotencode: yes yes yes |
|
51 | dotencode: yes yes yes | |
51 | generaldelta: yes yes yes |
|
52 | generaldelta: yes yes yes | |
52 | sparserevlog: yes yes yes |
|
53 | sparserevlog: yes yes yes | |
53 | sidedata: no no no |
|
54 | sidedata: no no no | |
54 |
|
|
55 | persistent-nodemap: no no no | |
55 | plain-cl-delta: yes yes yes |
|
56 | copies-sdc: no no no | |
56 | compression: zlib zlib zlib |
|
57 | plain-cl-delta: yes yes yes | |
57 | compression-level: default default default |
|
58 | compression: zlib zlib zlib | |
|
59 | compression-level: default default default | |||
58 | #endif |
|
60 | #endif | |
59 | $ echo a > a |
|
61 | $ echo a > a | |
60 | $ hg add a |
|
62 | $ hg add a | |
@@ -424,16 +426,17 b' Test upgrading/downgrading to sidedata s' | |||||
424 | downgrading (keeping some sidedata) |
|
426 | downgrading (keeping some sidedata) | |
425 |
|
427 | |||
426 | $ hg debugformat -v |
|
428 | $ hg debugformat -v | |
427 | format-variant repo config default |
|
429 | format-variant repo config default | |
428 | fncache: yes yes yes |
|
430 | fncache: yes yes yes | |
429 | dotencode: yes yes yes |
|
431 | dotencode: yes yes yes | |
430 | generaldelta: yes yes yes |
|
432 | generaldelta: yes yes yes | |
431 | sparserevlog: yes yes yes |
|
433 | sparserevlog: yes yes yes | |
432 | sidedata: yes yes no |
|
434 | sidedata: yes yes no | |
433 | copies-sdc: yes yes no |
|
435 | persistent-nodemap: no no no | |
434 |
|
|
436 | copies-sdc: yes yes no | |
435 | compression: zlib zlib zlib |
|
437 | plain-cl-delta: yes yes yes | |
436 | compression-level: default default default |
|
438 | compression: zlib zlib zlib | |
|
439 | compression-level: default default default | |||
437 | $ hg debugsidedata -c -- 0 |
|
440 | $ hg debugsidedata -c -- 0 | |
438 | 1 sidedata entries |
|
441 | 1 sidedata entries | |
439 | entry-0012 size 1 |
|
442 | entry-0012 size 1 | |
@@ -448,16 +451,17 b' downgrading (keeping some sidedata)' | |||||
448 | > EOF |
|
451 | > EOF | |
449 | $ hg debugupgraderepo --run --quiet --no-backup > /dev/null |
|
452 | $ hg debugupgraderepo --run --quiet --no-backup > /dev/null | |
450 | $ hg debugformat -v |
|
453 | $ hg debugformat -v | |
451 | format-variant repo config default |
|
454 | format-variant repo config default | |
452 | fncache: yes yes yes |
|
455 | fncache: yes yes yes | |
453 | dotencode: yes yes yes |
|
456 | dotencode: yes yes yes | |
454 | generaldelta: yes yes yes |
|
457 | generaldelta: yes yes yes | |
455 | sparserevlog: yes yes yes |
|
458 | sparserevlog: yes yes yes | |
456 | sidedata: yes yes no |
|
459 | sidedata: yes yes no | |
457 |
|
|
460 | persistent-nodemap: no no no | |
458 | plain-cl-delta: yes yes yes |
|
461 | copies-sdc: no no no | |
459 | compression: zlib zlib zlib |
|
462 | plain-cl-delta: yes yes yes | |
460 | compression-level: default default default |
|
463 | compression: zlib zlib zlib | |
|
464 | compression-level: default default default | |||
461 | $ hg debugsidedata -c -- 0 |
|
465 | $ hg debugsidedata -c -- 0 | |
462 | $ hg debugsidedata -c -- 1 |
|
466 | $ hg debugsidedata -c -- 1 | |
463 | $ hg debugsidedata -m -- 0 |
|
467 | $ hg debugsidedata -m -- 0 | |
@@ -470,16 +474,17 b' upgrading' | |||||
470 | > EOF |
|
474 | > EOF | |
471 | $ hg debugupgraderepo --run --quiet --no-backup > /dev/null |
|
475 | $ hg debugupgraderepo --run --quiet --no-backup > /dev/null | |
472 | $ hg debugformat -v |
|
476 | $ hg debugformat -v | |
473 | format-variant repo config default |
|
477 | format-variant repo config default | |
474 | fncache: yes yes yes |
|
478 | fncache: yes yes yes | |
475 | dotencode: yes yes yes |
|
479 | dotencode: yes yes yes | |
476 | generaldelta: yes yes yes |
|
480 | generaldelta: yes yes yes | |
477 | sparserevlog: yes yes yes |
|
481 | sparserevlog: yes yes yes | |
478 | sidedata: yes yes no |
|
482 | sidedata: yes yes no | |
479 | copies-sdc: yes yes no |
|
483 | persistent-nodemap: no no no | |
480 |
|
|
484 | copies-sdc: yes yes no | |
481 | compression: zlib zlib zlib |
|
485 | plain-cl-delta: yes yes yes | |
482 | compression-level: default default default |
|
486 | compression: zlib zlib zlib | |
|
487 | compression-level: default default default | |||
483 | $ hg debugsidedata -c -- 0 |
|
488 | $ hg debugsidedata -c -- 0 | |
484 | 1 sidedata entries |
|
489 | 1 sidedata entries | |
485 | entry-0012 size 1 |
|
490 | entry-0012 size 1 |
@@ -10,6 +10,18 b' Test the persistent on-disk nodemap' | |||||
10 | > EOF |
|
10 | > EOF | |
11 | $ hg init test-repo |
|
11 | $ hg init test-repo | |
12 | $ cd test-repo |
|
12 | $ cd test-repo | |
|
13 | $ hg debugformat | |||
|
14 | format-variant repo | |||
|
15 | fncache: yes | |||
|
16 | dotencode: yes | |||
|
17 | generaldelta: yes | |||
|
18 | sparserevlog: yes | |||
|
19 | sidedata: no | |||
|
20 | persistent-nodemap: yes | |||
|
21 | copies-sdc: no | |||
|
22 | plain-cl-delta: yes | |||
|
23 | compression: zlib | |||
|
24 | compression-level: default | |||
13 | $ hg debugbuilddag .+5000 --new-file --config "storage.revlog.nodemap.mode=warn" |
|
25 | $ hg debugbuilddag .+5000 --new-file --config "storage.revlog.nodemap.mode=warn" | |
14 | persistent nodemap in strict mode without efficient method (no-rust no-pure !) |
|
26 | persistent nodemap in strict mode without efficient method (no-rust no-pure !) | |
15 | persistent nodemap in strict mode without efficient method (no-rust no-pure !) |
|
27 | persistent nodemap in strict mode without efficient method (no-rust no-pure !) |
@@ -50,27 +50,29 b' Check that we can upgrade to sidedata' | |||||
50 |
|
50 | |||
51 | $ hg init up-no-side-data --config format.exp-use-side-data=no |
|
51 | $ hg init up-no-side-data --config format.exp-use-side-data=no | |
52 | $ hg debugformat -v -R up-no-side-data |
|
52 | $ hg debugformat -v -R up-no-side-data | |
53 | format-variant repo config default |
|
53 | format-variant repo config default | |
54 | fncache: yes yes yes |
|
54 | fncache: yes yes yes | |
55 | dotencode: yes yes yes |
|
55 | dotencode: yes yes yes | |
56 | generaldelta: yes yes yes |
|
56 | generaldelta: yes yes yes | |
57 | sparserevlog: yes yes yes |
|
57 | sparserevlog: yes yes yes | |
58 | sidedata: no no no |
|
58 | sidedata: no no no | |
59 |
|
|
59 | persistent-nodemap: no no no | |
60 | plain-cl-delta: yes yes yes |
|
60 | copies-sdc: no no no | |
61 | compression: zlib zlib zlib |
|
61 | plain-cl-delta: yes yes yes | |
62 | compression-level: default default default |
|
62 | compression: zlib zlib zlib | |
|
63 | compression-level: default default default | |||
63 | $ hg debugformat -v -R up-no-side-data --config format.exp-use-side-data=yes |
|
64 | $ hg debugformat -v -R up-no-side-data --config format.exp-use-side-data=yes | |
64 | format-variant repo config default |
|
65 | format-variant repo config default | |
65 | fncache: yes yes yes |
|
66 | fncache: yes yes yes | |
66 | dotencode: yes yes yes |
|
67 | dotencode: yes yes yes | |
67 | generaldelta: yes yes yes |
|
68 | generaldelta: yes yes yes | |
68 | sparserevlog: yes yes yes |
|
69 | sparserevlog: yes yes yes | |
69 | sidedata: no yes no |
|
70 | sidedata: no yes no | |
70 |
|
|
71 | persistent-nodemap: no no no | |
71 | plain-cl-delta: yes yes yes |
|
72 | copies-sdc: no no no | |
72 | compression: zlib zlib zlib |
|
73 | plain-cl-delta: yes yes yes | |
73 | compression-level: default default default |
|
74 | compression: zlib zlib zlib | |
|
75 | compression-level: default default default | |||
74 | $ hg debugupgraderepo -R up-no-side-data --config format.exp-use-side-data=yes > /dev/null |
|
76 | $ hg debugupgraderepo -R up-no-side-data --config format.exp-use-side-data=yes > /dev/null | |
75 |
|
77 | |||
76 | Check that we can downgrade from sidedata |
|
78 | Check that we can downgrade from sidedata | |
@@ -78,25 +80,27 b' Check that we can downgrade from sidedat' | |||||
78 |
|
80 | |||
79 | $ hg init up-side-data --config format.exp-use-side-data=yes |
|
81 | $ hg init up-side-data --config format.exp-use-side-data=yes | |
80 | $ hg debugformat -v -R up-side-data |
|
82 | $ hg debugformat -v -R up-side-data | |
81 | format-variant repo config default |
|
83 | format-variant repo config default | |
82 | fncache: yes yes yes |
|
84 | fncache: yes yes yes | |
83 | dotencode: yes yes yes |
|
85 | dotencode: yes yes yes | |
84 | generaldelta: yes yes yes |
|
86 | generaldelta: yes yes yes | |
85 | sparserevlog: yes yes yes |
|
87 | sparserevlog: yes yes yes | |
86 | sidedata: yes no no |
|
88 | sidedata: yes no no | |
87 |
|
|
89 | persistent-nodemap: no no no | |
88 | plain-cl-delta: yes yes yes |
|
90 | copies-sdc: no no no | |
89 | compression: zlib zlib zlib |
|
91 | plain-cl-delta: yes yes yes | |
90 | compression-level: default default default |
|
92 | compression: zlib zlib zlib | |
|
93 | compression-level: default default default | |||
91 | $ hg debugformat -v -R up-side-data --config format.exp-use-side-data=no |
|
94 | $ hg debugformat -v -R up-side-data --config format.exp-use-side-data=no | |
92 | format-variant repo config default |
|
95 | format-variant repo config default | |
93 | fncache: yes yes yes |
|
96 | fncache: yes yes yes | |
94 | dotencode: yes yes yes |
|
97 | dotencode: yes yes yes | |
95 | generaldelta: yes yes yes |
|
98 | generaldelta: yes yes yes | |
96 | sparserevlog: yes yes yes |
|
99 | sparserevlog: yes yes yes | |
97 | sidedata: yes no no |
|
100 | sidedata: yes no no | |
98 |
|
|
101 | persistent-nodemap: no no no | |
99 | plain-cl-delta: yes yes yes |
|
102 | copies-sdc: no no no | |
100 | compression: zlib zlib zlib |
|
103 | plain-cl-delta: yes yes yes | |
101 | compression-level: default default default |
|
104 | compression: zlib zlib zlib | |
|
105 | compression-level: default default default | |||
102 | $ hg debugupgraderepo -R up-side-data --config format.exp-use-side-data=no > /dev/null |
|
106 | $ hg debugupgraderepo -R up-side-data --config format.exp-use-side-data=no > /dev/null |
@@ -52,49 +52,53 b' An upgrade of a repository created with ' | |||||
52 | $ hg init empty |
|
52 | $ hg init empty | |
53 | $ cd empty |
|
53 | $ cd empty | |
54 | $ hg debugformat |
|
54 | $ hg debugformat | |
55 | format-variant repo |
|
55 | format-variant repo | |
56 | fncache: yes |
|
56 | fncache: yes | |
57 | dotencode: yes |
|
57 | dotencode: yes | |
58 | generaldelta: yes |
|
58 | generaldelta: yes | |
59 | sparserevlog: yes |
|
59 | sparserevlog: yes | |
60 | sidedata: no |
|
60 | sidedata: no | |
61 | copies-sdc: no |
|
61 | persistent-nodemap: no | |
62 | plain-cl-delta: yes |
|
62 | copies-sdc: no | |
63 | compression: zlib |
|
63 | plain-cl-delta: yes | |
64 | compression-level: default |
|
64 | compression: zlib | |
|
65 | compression-level: default | |||
65 | $ hg debugformat --verbose |
|
66 | $ hg debugformat --verbose | |
66 | format-variant repo config default |
|
67 | format-variant repo config default | |
67 | fncache: yes yes yes |
|
68 | fncache: yes yes yes | |
68 | dotencode: yes yes yes |
|
69 | dotencode: yes yes yes | |
69 | generaldelta: yes yes yes |
|
70 | generaldelta: yes yes yes | |
70 | sparserevlog: yes yes yes |
|
71 | sparserevlog: yes yes yes | |
71 | sidedata: no no no |
|
72 | sidedata: no no no | |
72 |
|
|
73 | persistent-nodemap: no no no | |
73 | plain-cl-delta: yes yes yes |
|
74 | copies-sdc: no no no | |
74 | compression: zlib zlib zlib |
|
75 | plain-cl-delta: yes yes yes | |
75 | compression-level: default default default |
|
76 | compression: zlib zlib zlib | |
|
77 | compression-level: default default default | |||
76 | $ hg debugformat --verbose --config format.usefncache=no |
|
78 | $ hg debugformat --verbose --config format.usefncache=no | |
77 | format-variant repo config default |
|
79 | format-variant repo config default | |
78 | fncache: yes no yes |
|
80 | fncache: yes no yes | |
79 | dotencode: yes no yes |
|
81 | dotencode: yes no yes | |
80 | generaldelta: yes yes yes |
|
82 | generaldelta: yes yes yes | |
81 | sparserevlog: yes yes yes |
|
83 | sparserevlog: yes yes yes | |
82 | sidedata: no no no |
|
84 | sidedata: no no no | |
83 |
|
|
85 | persistent-nodemap: no no no | |
84 | plain-cl-delta: yes yes yes |
|
86 | copies-sdc: no no no | |
85 | compression: zlib zlib zlib |
|
87 | plain-cl-delta: yes yes yes | |
86 | compression-level: default default default |
|
88 | compression: zlib zlib zlib | |
|
89 | compression-level: default default default | |||
87 | $ hg debugformat --verbose --config format.usefncache=no --color=debug |
|
90 | $ hg debugformat --verbose --config format.usefncache=no --color=debug | |
88 | format-variant repo config default |
|
91 | format-variant repo config default | |
89 | [formatvariant.name.mismatchconfig|fncache: ][formatvariant.repo.mismatchconfig| yes][formatvariant.config.special| no][formatvariant.default| yes] |
|
92 | [formatvariant.name.mismatchconfig|fncache: ][formatvariant.repo.mismatchconfig| yes][formatvariant.config.special| no][formatvariant.default| yes] | |
90 | [formatvariant.name.mismatchconfig|dotencode: ][formatvariant.repo.mismatchconfig| yes][formatvariant.config.special| no][formatvariant.default| yes] |
|
93 | [formatvariant.name.mismatchconfig|dotencode: ][formatvariant.repo.mismatchconfig| yes][formatvariant.config.special| no][formatvariant.default| yes] | |
91 | [formatvariant.name.uptodate|generaldelta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] |
|
94 | [formatvariant.name.uptodate|generaldelta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | |
92 | [formatvariant.name.uptodate|sparserevlog: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] |
|
95 | [formatvariant.name.uptodate|sparserevlog: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | |
93 | [formatvariant.name.uptodate|sidedata: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
|
96 | [formatvariant.name.uptodate|sidedata: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
94 |
[formatvariant.name.uptodate| |
|
97 | [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
95 |
[formatvariant.name.uptodate| |
|
98 | [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
96 |
[formatvariant.name.uptodate| |
|
99 | [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | |
97 |
[formatvariant.name.uptodate|compression |
|
100 | [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] | |
|
101 | [formatvariant.name.uptodate|compression-level: ][formatvariant.repo.uptodate| default][formatvariant.config.default| default][formatvariant.default| default] | |||
98 | $ hg debugformat -Tjson |
|
102 | $ hg debugformat -Tjson | |
99 | [ |
|
103 | [ | |
100 | { |
|
104 | { | |
@@ -130,6 +134,12 b' An upgrade of a repository created with ' | |||||
130 | { |
|
134 | { | |
131 | "config": false, |
|
135 | "config": false, | |
132 | "default": false, |
|
136 | "default": false, | |
|
137 | "name": "persistent-nodemap", | |||
|
138 | "repo": false | |||
|
139 | }, | |||
|
140 | { | |||
|
141 | "config": false, | |||
|
142 | "default": false, | |||
133 | "name": "copies-sdc", |
|
143 | "name": "copies-sdc", | |
134 | "repo": false |
|
144 | "repo": false | |
135 | }, |
|
145 | }, | |
@@ -252,49 +262,53 b' Various sub-optimal detections work' | |||||
252 | > EOF |
|
262 | > EOF | |
253 |
|
263 | |||
254 | $ hg debugformat |
|
264 | $ hg debugformat | |
255 | format-variant repo |
|
265 | format-variant repo | |
256 | fncache: no |
|
266 | fncache: no | |
257 | dotencode: no |
|
267 | dotencode: no | |
258 | generaldelta: no |
|
268 | generaldelta: no | |
259 | sparserevlog: no |
|
269 | sparserevlog: no | |
260 | sidedata: no |
|
270 | sidedata: no | |
261 | copies-sdc: no |
|
271 | persistent-nodemap: no | |
262 | plain-cl-delta: yes |
|
272 | copies-sdc: no | |
263 | compression: zlib |
|
273 | plain-cl-delta: yes | |
264 | compression-level: default |
|
274 | compression: zlib | |
|
275 | compression-level: default | |||
265 | $ hg debugformat --verbose |
|
276 | $ hg debugformat --verbose | |
266 | format-variant repo config default |
|
277 | format-variant repo config default | |
267 | fncache: no yes yes |
|
278 | fncache: no yes yes | |
268 | dotencode: no yes yes |
|
279 | dotencode: no yes yes | |
269 | generaldelta: no yes yes |
|
280 | generaldelta: no yes yes | |
270 | sparserevlog: no yes yes |
|
281 | sparserevlog: no yes yes | |
271 | sidedata: no no no |
|
282 | sidedata: no no no | |
272 |
|
|
283 | persistent-nodemap: no no no | |
273 | plain-cl-delta: yes yes yes |
|
284 | copies-sdc: no no no | |
274 | compression: zlib zlib zlib |
|
285 | plain-cl-delta: yes yes yes | |
275 | compression-level: default default default |
|
286 | compression: zlib zlib zlib | |
|
287 | compression-level: default default default | |||
276 | $ hg debugformat --verbose --config format.usegeneraldelta=no |
|
288 | $ hg debugformat --verbose --config format.usegeneraldelta=no | |
277 | format-variant repo config default |
|
289 | format-variant repo config default | |
278 | fncache: no yes yes |
|
290 | fncache: no yes yes | |
279 | dotencode: no yes yes |
|
291 | dotencode: no yes yes | |
280 | generaldelta: no no yes |
|
292 | generaldelta: no no yes | |
281 | sparserevlog: no no yes |
|
293 | sparserevlog: no no yes | |
282 | sidedata: no no no |
|
294 | sidedata: no no no | |
283 |
|
|
295 | persistent-nodemap: no no no | |
284 | plain-cl-delta: yes yes yes |
|
296 | copies-sdc: no no no | |
285 | compression: zlib zlib zlib |
|
297 | plain-cl-delta: yes yes yes | |
286 | compression-level: default default default |
|
298 | compression: zlib zlib zlib | |
|
299 | compression-level: default default default | |||
287 | $ hg debugformat --verbose --config format.usegeneraldelta=no --color=debug |
|
300 | $ hg debugformat --verbose --config format.usegeneraldelta=no --color=debug | |
288 | format-variant repo config default |
|
301 | format-variant repo config default | |
289 | [formatvariant.name.mismatchconfig|fncache: ][formatvariant.repo.mismatchconfig| no][formatvariant.config.default| yes][formatvariant.default| yes] |
|
302 | [formatvariant.name.mismatchconfig|fncache: ][formatvariant.repo.mismatchconfig| no][formatvariant.config.default| yes][formatvariant.default| yes] | |
290 | [formatvariant.name.mismatchconfig|dotencode: ][formatvariant.repo.mismatchconfig| no][formatvariant.config.default| yes][formatvariant.default| yes] |
|
303 | [formatvariant.name.mismatchconfig|dotencode: ][formatvariant.repo.mismatchconfig| no][formatvariant.config.default| yes][formatvariant.default| yes] | |
291 | [formatvariant.name.mismatchdefault|generaldelta: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] |
|
304 | [formatvariant.name.mismatchdefault|generaldelta: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] | |
292 | [formatvariant.name.mismatchdefault|sparserevlog: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] |
|
305 | [formatvariant.name.mismatchdefault|sparserevlog: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes] | |
293 | [formatvariant.name.uptodate|sidedata: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
|
306 | [formatvariant.name.uptodate|sidedata: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
294 |
[formatvariant.name.uptodate| |
|
307 | [formatvariant.name.uptodate|persistent-nodemap:][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
295 |
[formatvariant.name.uptodate| |
|
308 | [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
296 |
[formatvariant.name.uptodate| |
|
309 | [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | |
297 |
[formatvariant.name.uptodate|compression |
|
310 | [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] | |
|
311 | [formatvariant.name.uptodate|compression-level: ][formatvariant.repo.uptodate| default][formatvariant.config.default| default][formatvariant.default| default] | |||
298 | $ hg debugupgraderepo |
|
312 | $ hg debugupgraderepo | |
299 | repository lacks features recommended by current config options: |
|
313 | repository lacks features recommended by current config options: | |
300 |
|
314 | |||
@@ -1271,16 +1285,17 b' upgrade' | |||||
1271 | added: revlog-compression-zstd, sparserevlog |
|
1285 | added: revlog-compression-zstd, sparserevlog | |
1272 |
|
1286 | |||
1273 | $ hg debugformat -v |
|
1287 | $ hg debugformat -v | |
1274 | format-variant repo config default |
|
1288 | format-variant repo config default | |
1275 | fncache: yes yes yes |
|
1289 | fncache: yes yes yes | |
1276 | dotencode: yes yes yes |
|
1290 | dotencode: yes yes yes | |
1277 | generaldelta: yes yes yes |
|
1291 | generaldelta: yes yes yes | |
1278 | sparserevlog: yes yes yes |
|
1292 | sparserevlog: yes yes yes | |
1279 | sidedata: no no no |
|
1293 | sidedata: no no no | |
1280 |
|
|
1294 | persistent-nodemap: no no no | |
1281 | plain-cl-delta: yes yes yes |
|
1295 | copies-sdc: no no no | |
1282 | compression: zstd zlib zlib |
|
1296 | plain-cl-delta: yes yes yes | |
1283 | compression-level: default default default |
|
1297 | compression: zstd zlib zlib | |
|
1298 | compression-level: default default default | |||
1284 | $ cat .hg/requires |
|
1299 | $ cat .hg/requires | |
1285 | dotencode |
|
1300 | dotencode | |
1286 | fncache |
|
1301 | fncache | |
@@ -1300,16 +1315,17 b' downgrade' | |||||
1300 | removed: revlog-compression-zstd |
|
1315 | removed: revlog-compression-zstd | |
1301 |
|
1316 | |||
1302 | $ hg debugformat -v |
|
1317 | $ hg debugformat -v | |
1303 | format-variant repo config default |
|
1318 | format-variant repo config default | |
1304 | fncache: yes yes yes |
|
1319 | fncache: yes yes yes | |
1305 | dotencode: yes yes yes |
|
1320 | dotencode: yes yes yes | |
1306 | generaldelta: yes yes yes |
|
1321 | generaldelta: yes yes yes | |
1307 | sparserevlog: yes yes yes |
|
1322 | sparserevlog: yes yes yes | |
1308 | sidedata: no no no |
|
1323 | sidedata: no no no | |
1309 |
|
|
1324 | persistent-nodemap: no no no | |
1310 | plain-cl-delta: yes yes yes |
|
1325 | copies-sdc: no no no | |
1311 | compression: zlib zlib zlib |
|
1326 | plain-cl-delta: yes yes yes | |
1312 | compression-level: default default default |
|
1327 | compression: zlib zlib zlib | |
|
1328 | compression-level: default default default | |||
1313 | $ cat .hg/requires |
|
1329 | $ cat .hg/requires | |
1314 | dotencode |
|
1330 | dotencode | |
1315 | fncache |
|
1331 | fncache | |
@@ -1332,16 +1348,17 b' upgrade from hgrc' | |||||
1332 | added: revlog-compression-zstd |
|
1348 | added: revlog-compression-zstd | |
1333 |
|
1349 | |||
1334 | $ hg debugformat -v |
|
1350 | $ hg debugformat -v | |
1335 | format-variant repo config default |
|
1351 | format-variant repo config default | |
1336 | fncache: yes yes yes |
|
1352 | fncache: yes yes yes | |
1337 | dotencode: yes yes yes |
|
1353 | dotencode: yes yes yes | |
1338 | generaldelta: yes yes yes |
|
1354 | generaldelta: yes yes yes | |
1339 | sparserevlog: yes yes yes |
|
1355 | sparserevlog: yes yes yes | |
1340 | sidedata: no no no |
|
1356 | sidedata: no no no | |
1341 |
|
|
1357 | persistent-nodemap: no no no | |
1342 | plain-cl-delta: yes yes yes |
|
1358 | copies-sdc: no no no | |
1343 | compression: zstd zstd zlib |
|
1359 | plain-cl-delta: yes yes yes | |
1344 | compression-level: default default default |
|
1360 | compression: zstd zstd zlib | |
|
1361 | compression-level: default default default | |||
1345 | $ cat .hg/requires |
|
1362 | $ cat .hg/requires | |
1346 | dotencode |
|
1363 | dotencode | |
1347 | fncache |
|
1364 | fncache | |
@@ -1368,17 +1385,18 b' upgrade' | |||||
1368 | added: exp-sidedata-flag, sparserevlog (no-zstd !) |
|
1385 | added: exp-sidedata-flag, sparserevlog (no-zstd !) | |
1369 |
|
1386 | |||
1370 | $ hg debugformat -v |
|
1387 | $ hg debugformat -v | |
1371 | format-variant repo config default |
|
1388 | format-variant repo config default | |
1372 | fncache: yes yes yes |
|
1389 | fncache: yes yes yes | |
1373 | dotencode: yes yes yes |
|
1390 | dotencode: yes yes yes | |
1374 | generaldelta: yes yes yes |
|
1391 | generaldelta: yes yes yes | |
1375 | sparserevlog: yes yes yes |
|
1392 | sparserevlog: yes yes yes | |
1376 | sidedata: yes no no |
|
1393 | sidedata: yes no no | |
1377 |
|
|
1394 | persistent-nodemap: no no no | |
1378 | plain-cl-delta: yes yes yes |
|
1395 | copies-sdc: no no no | |
1379 | compression: zstd zstd zlib (zstd !) |
|
1396 | plain-cl-delta: yes yes yes | |
1380 | compression: zlib zlib zlib (no-zstd !) |
|
1397 | compression: zlib zlib zlib (no-zstd !) | |
1381 | compression-level: default default default |
|
1398 | compression: zstd zstd zlib (zstd !) | |
|
1399 | compression-level: default default default | |||
1382 | $ cat .hg/requires |
|
1400 | $ cat .hg/requires | |
1383 | dotencode |
|
1401 | dotencode | |
1384 | exp-sidedata-flag |
|
1402 | exp-sidedata-flag | |
@@ -1404,17 +1422,18 b' downgrade' | |||||
1404 | removed: exp-sidedata-flag |
|
1422 | removed: exp-sidedata-flag | |
1405 |
|
1423 | |||
1406 | $ hg debugformat -v |
|
1424 | $ hg debugformat -v | |
1407 | format-variant repo config default |
|
1425 | format-variant repo config default | |
1408 | fncache: yes yes yes |
|
1426 | fncache: yes yes yes | |
1409 | dotencode: yes yes yes |
|
1427 | dotencode: yes yes yes | |
1410 | generaldelta: yes yes yes |
|
1428 | generaldelta: yes yes yes | |
1411 | sparserevlog: yes yes yes |
|
1429 | sparserevlog: yes yes yes | |
1412 | sidedata: no no no |
|
1430 | sidedata: no no no | |
1413 |
|
|
1431 | persistent-nodemap: no no no | |
1414 | plain-cl-delta: yes yes yes |
|
1432 | copies-sdc: no no no | |
1415 | compression: zstd zstd zlib (zstd !) |
|
1433 | plain-cl-delta: yes yes yes | |
1416 | compression: zlib zlib zlib (no-zstd !) |
|
1434 | compression: zlib zlib zlib (no-zstd !) | |
1417 | compression-level: default default default |
|
1435 | compression: zstd zstd zlib (zstd !) | |
|
1436 | compression-level: default default default | |||
1418 | $ cat .hg/requires |
|
1437 | $ cat .hg/requires | |
1419 | dotencode |
|
1438 | dotencode | |
1420 | fncache |
|
1439 | fncache | |
@@ -1440,17 +1459,18 b' upgrade from hgrc' | |||||
1440 | added: exp-sidedata-flag |
|
1459 | added: exp-sidedata-flag | |
1441 |
|
1460 | |||
1442 | $ hg debugformat -v |
|
1461 | $ hg debugformat -v | |
1443 | format-variant repo config default |
|
1462 | format-variant repo config default | |
1444 | fncache: yes yes yes |
|
1463 | fncache: yes yes yes | |
1445 | dotencode: yes yes yes |
|
1464 | dotencode: yes yes yes | |
1446 | generaldelta: yes yes yes |
|
1465 | generaldelta: yes yes yes | |
1447 | sparserevlog: yes yes yes |
|
1466 | sparserevlog: yes yes yes | |
1448 | sidedata: yes yes no |
|
1467 | sidedata: yes yes no | |
1449 |
|
|
1468 | persistent-nodemap: no no no | |
1450 | plain-cl-delta: yes yes yes |
|
1469 | copies-sdc: no no no | |
1451 | compression: zstd zstd zlib (zstd !) |
|
1470 | plain-cl-delta: yes yes yes | |
1452 | compression: zlib zlib zlib (no-zstd !) |
|
1471 | compression: zlib zlib zlib (no-zstd !) | |
1453 | compression-level: default default default |
|
1472 | compression: zstd zstd zlib (zstd !) | |
|
1473 | compression-level: default default default | |||
1454 | $ cat .hg/requires |
|
1474 | $ cat .hg/requires | |
1455 | dotencode |
|
1475 | dotencode | |
1456 | exp-sidedata-flag |
|
1476 | exp-sidedata-flag |
General Comments 0
You need to be logged in to leave comments.
Login now