Show More
@@ -295,7 +295,10 b' class cg1unpacker(object):' | |||||
295 | # Only useful if we're adding sidedata categories. If both peers have |
|
295 | # Only useful if we're adding sidedata categories. If both peers have | |
296 | # the same categories, then we simply don't do anything. |
|
296 | # the same categories, then we simply don't do anything. | |
297 | adding_sidedata = ( |
|
297 | adding_sidedata = ( | |
298 | requirements.REVLOGV2_REQUIREMENT in repo.requirements |
|
298 | ( | |
|
299 | requirements.REVLOGV2_REQUIREMENT in repo.requirements | |||
|
300 | or requirements.CHANGELOGV2_REQUIREMENT in repo.requirements | |||
|
301 | ) | |||
299 | and self.version == b'04' |
|
302 | and self.version == b'04' | |
300 | and srctype == b'pull' |
|
303 | and srctype == b'pull' | |
301 | ) |
|
304 | ) | |
@@ -1723,6 +1726,7 b' def allsupportedversions(repo):' | |||||
1723 | want_v4 = ( |
|
1726 | want_v4 = ( | |
1724 | repo.ui.configbool(b'experimental', b'changegroup4') |
|
1727 | repo.ui.configbool(b'experimental', b'changegroup4') | |
1725 | or requirements.REVLOGV2_REQUIREMENT in repo.requirements |
|
1728 | or requirements.REVLOGV2_REQUIREMENT in repo.requirements | |
|
1729 | or requirements.CHANGELOGV2_REQUIREMENT in repo.requirements | |||
1726 | ) |
|
1730 | ) | |
1727 | if not want_v4: |
|
1731 | if not want_v4: | |
1728 | versions.discard(b'04') |
|
1732 | versions.discard(b'04') |
@@ -1341,6 +1341,21 b' coreconfigitem(' | |||||
1341 | default=lambda: [b'zstd', b'zlib'], |
|
1341 | default=lambda: [b'zstd', b'zlib'], | |
1342 | alias=[(b'experimental', b'format.compression')], |
|
1342 | alias=[(b'experimental', b'format.compression')], | |
1343 | ) |
|
1343 | ) | |
|
1344 | # Experimental TODOs: | |||
|
1345 | # | |||
|
1346 | # * Same as for evlogv2 (but for the reduction of the number of files) | |||
|
1347 | # * drop the storage of the base | |||
|
1348 | # * Improvement to investigate | |||
|
1349 | # - storing .hgtags fnode | |||
|
1350 | # - storing `rank` of changesets | |||
|
1351 | # - storing branch related identifier | |||
|
1352 | ||||
|
1353 | coreconfigitem( | |||
|
1354 | b'format', | |||
|
1355 | b'exp-use-changelog-v2', | |||
|
1356 | default=None, | |||
|
1357 | experimental=True, | |||
|
1358 | ) | |||
1344 | coreconfigitem( |
|
1359 | coreconfigitem( | |
1345 | b'format', |
|
1360 | b'format', | |
1346 | b'usefncache', |
|
1361 | b'usefncache', |
@@ -737,7 +737,10 b' def makelocalrepository(baseui, path, in' | |||||
737 | storevfs = store.vfs |
|
737 | storevfs = store.vfs | |
738 | storevfs.options = resolvestorevfsoptions(ui, requirements, features) |
|
738 | storevfs.options = resolvestorevfsoptions(ui, requirements, features) | |
739 |
|
739 | |||
740 | if requirementsmod.REVLOGV2_REQUIREMENT in requirements: |
|
740 | if ( | |
|
741 | requirementsmod.REVLOGV2_REQUIREMENT in requirements | |||
|
742 | or requirementsmod.CHANGELOGV2_REQUIREMENT in requirements | |||
|
743 | ): | |||
741 | features.add(repository.REPO_FEATURE_SIDE_DATA) |
|
744 | features.add(repository.REPO_FEATURE_SIDE_DATA) | |
742 | # the revlogv2 docket introduced race condition that we need to fix |
|
745 | # the revlogv2 docket introduced race condition that we need to fix | |
743 | features.discard(repository.REPO_FEATURE_STREAM_CLONE) |
|
746 | features.discard(repository.REPO_FEATURE_STREAM_CLONE) | |
@@ -1021,6 +1024,8 b' def resolverevlogstorevfsoptions(ui, req' | |||||
1021 | options[b'revlogv1'] = True |
|
1024 | options[b'revlogv1'] = True | |
1022 | if requirementsmod.REVLOGV2_REQUIREMENT in requirements: |
|
1025 | if requirementsmod.REVLOGV2_REQUIREMENT in requirements: | |
1023 | options[b'revlogv2'] = True |
|
1026 | options[b'revlogv2'] = True | |
|
1027 | if requirementsmod.CHANGELOGV2_REQUIREMENT in requirements: | |||
|
1028 | options[b'changelogv2'] = True | |||
1024 |
|
1029 | |||
1025 | if requirementsmod.GENERALDELTA_REQUIREMENT in requirements: |
|
1030 | if requirementsmod.GENERALDELTA_REQUIREMENT in requirements: | |
1026 | options[b'generaldelta'] = True |
|
1031 | options[b'generaldelta'] = True | |
@@ -1220,6 +1225,7 b' class localrepository(object):' | |||||
1220 | requirementsmod.TREEMANIFEST_REQUIREMENT, |
|
1225 | requirementsmod.TREEMANIFEST_REQUIREMENT, | |
1221 | requirementsmod.COPIESSDC_REQUIREMENT, |
|
1226 | requirementsmod.COPIESSDC_REQUIREMENT, | |
1222 | requirementsmod.REVLOGV2_REQUIREMENT, |
|
1227 | requirementsmod.REVLOGV2_REQUIREMENT, | |
|
1228 | requirementsmod.CHANGELOGV2_REQUIREMENT, | |||
1223 | requirementsmod.SPARSEREVLOG_REQUIREMENT, |
|
1229 | requirementsmod.SPARSEREVLOG_REQUIREMENT, | |
1224 | requirementsmod.NODEMAP_REQUIREMENT, |
|
1230 | requirementsmod.NODEMAP_REQUIREMENT, | |
1225 | bookmarks.BOOKMARKS_IN_STORE_REQUIREMENT, |
|
1231 | bookmarks.BOOKMARKS_IN_STORE_REQUIREMENT, | |
@@ -3529,6 +3535,10 b' def newreporequirements(ui, createopts):' | |||||
3529 | if ui.configbool(b'experimental', b'treemanifest'): |
|
3535 | if ui.configbool(b'experimental', b'treemanifest'): | |
3530 | requirements.add(requirementsmod.TREEMANIFEST_REQUIREMENT) |
|
3536 | requirements.add(requirementsmod.TREEMANIFEST_REQUIREMENT) | |
3531 |
|
3537 | |||
|
3538 | changelogv2 = ui.config(b'format', b'exp-use-changelog-v2') | |||
|
3539 | if changelogv2 == b'enable-unstable-format-and-corrupt-my-data': | |||
|
3540 | requirements.add(requirementsmod.CHANGELOGV2_REQUIREMENT) | |||
|
3541 | ||||
3532 | revlogv2 = ui.config(b'experimental', b'revlogv2') |
|
3542 | revlogv2 = ui.config(b'experimental', b'revlogv2') | |
3533 | if revlogv2 == b'enable-unstable-format-and-corrupt-my-data': |
|
3543 | if revlogv2 == b'enable-unstable-format-and-corrupt-my-data': | |
3534 | requirements.discard(requirementsmod.REVLOGV1_REQUIREMENT) |
|
3544 | requirements.discard(requirementsmod.REVLOGV1_REQUIREMENT) |
@@ -30,6 +30,10 b" REVLOGV1_REQUIREMENT = b'revlogv1'" | |||||
30 |
|
30 | |||
31 | # Increment the sub-version when the revlog v2 format changes to lock out old |
|
31 | # Increment the sub-version when the revlog v2 format changes to lock out old | |
32 | # clients. |
|
32 | # clients. | |
|
33 | CHANGELOGV2_REQUIREMENT = b'exp-changelog-v2' | |||
|
34 | ||||
|
35 | # Increment the sub-version when the revlog v2 format changes to lock out old | |||
|
36 | # clients. | |||
33 | REVLOGV2_REQUIREMENT = b'exp-revlogv2.2' |
|
37 | REVLOGV2_REQUIREMENT = b'exp-revlogv2.2' | |
34 |
|
38 | |||
35 | # A repository with the sparserevlog feature will have delta chains that |
|
39 | # A repository with the sparserevlog feature will have delta chains that |
@@ -42,6 +42,7 b' from .revlogutils.constants import (' | |||||
42 | FLAG_GENERALDELTA, |
|
42 | FLAG_GENERALDELTA, | |
43 | FLAG_INLINE_DATA, |
|
43 | FLAG_INLINE_DATA, | |
44 | INDEX_HEADER, |
|
44 | INDEX_HEADER, | |
|
45 | KIND_CHANGELOG, | |||
45 | REVLOGV0, |
|
46 | REVLOGV0, | |
46 | REVLOGV1, |
|
47 | REVLOGV1, | |
47 | REVLOGV1_FLAGS, |
|
48 | REVLOGV1_FLAGS, | |
@@ -458,7 +459,9 b' class revlog(object):' | |||||
458 | mmapindexthreshold = None |
|
459 | mmapindexthreshold = None | |
459 | opts = self.opener.options |
|
460 | opts = self.opener.options | |
460 |
|
461 | |||
461 | if b'revlogv2' in opts: |
|
462 | if b'changelogv2' in opts and self.revlog_kind == KIND_CHANGELOG: | |
|
463 | new_header = REVLOGV2 | |||
|
464 | elif b'revlogv2' in opts: | |||
462 | new_header = REVLOGV2 |
|
465 | new_header = REVLOGV2 | |
463 | elif b'revlogv1' in opts: |
|
466 | elif b'revlogv1' in opts: | |
464 | new_header = REVLOGV1 | FLAG_INLINE_DATA |
|
467 | new_header = REVLOGV1 | FLAG_INLINE_DATA |
@@ -373,6 +373,15 b' class revlogv2(requirementformatvariant)' | |||||
373 |
|
373 | |||
374 |
|
374 | |||
375 | @registerformatvariant |
|
375 | @registerformatvariant | |
|
376 | class changelogv2(requirementformatvariant): | |||
|
377 | name = b'changelog-v2' | |||
|
378 | _requirement = requirements.CHANGELOGV2_REQUIREMENT | |||
|
379 | default = False | |||
|
380 | description = _(b'An iteration of the revlog focussed on changelog needs.') | |||
|
381 | upgrademessage = _(b'quite experimental') | |||
|
382 | ||||
|
383 | ||||
|
384 | @registerformatvariant | |||
376 | class removecldeltachain(formatvariant): |
|
385 | class removecldeltachain(formatvariant): | |
377 | name = b'plain-cl-delta' |
|
386 | name = b'plain-cl-delta' | |
378 |
|
387 |
@@ -1660,6 +1660,7 b' We upgrade a repository that is not usin' | |||||
1660 | persistent-nodemap: yes yes no (rust !) |
|
1660 | persistent-nodemap: yes yes no (rust !) | |
1661 | copies-sdc: no yes no |
|
1661 | copies-sdc: no yes no | |
1662 | revlog-v2: no yes no |
|
1662 | revlog-v2: no yes no | |
|
1663 | changelog-v2: no no no | |||
1663 | plain-cl-delta: yes yes yes |
|
1664 | plain-cl-delta: yes yes yes | |
1664 | compression: * (glob) |
|
1665 | compression: * (glob) | |
1665 | compression-level: default default default |
|
1666 | compression-level: default default default | |
@@ -1699,6 +1700,7 b' We upgrade a repository that is not usin' | |||||
1699 | persistent-nodemap: yes yes no (rust !) |
|
1700 | persistent-nodemap: yes yes no (rust !) | |
1700 | copies-sdc: no yes no |
|
1701 | copies-sdc: no yes no | |
1701 | revlog-v2: no yes no |
|
1702 | revlog-v2: no yes no | |
|
1703 | changelog-v2: no no no | |||
1702 | plain-cl-delta: yes yes yes |
|
1704 | plain-cl-delta: yes yes yes | |
1703 | compression: * (glob) |
|
1705 | compression: * (glob) | |
1704 | compression-level: default default default |
|
1706 | compression-level: default default default |
@@ -43,6 +43,7 b' Check that copies are recorded correctly' | |||||
43 | persistent-nodemap: yes yes no (rust !) |
|
43 | persistent-nodemap: yes yes no (rust !) | |
44 | copies-sdc: yes yes no |
|
44 | copies-sdc: yes yes no | |
45 | revlog-v2: yes yes no |
|
45 | revlog-v2: yes yes no | |
|
46 | changelog-v2: no no no | |||
46 | plain-cl-delta: yes yes yes |
|
47 | plain-cl-delta: yes yes yes | |
47 | compression: zlib zlib zlib (no-zstd !) |
|
48 | compression: zlib zlib zlib (no-zstd !) | |
48 | compression: zstd zstd zstd (zstd !) |
|
49 | compression: zstd zstd zstd (zstd !) | |
@@ -59,6 +60,7 b' Check that copies are recorded correctly' | |||||
59 | persistent-nodemap: yes yes no (rust !) |
|
60 | persistent-nodemap: yes yes no (rust !) | |
60 | copies-sdc: no no no |
|
61 | copies-sdc: no no no | |
61 | revlog-v2: no no no |
|
62 | revlog-v2: no no no | |
|
63 | changelog-v2: no no no | |||
62 | plain-cl-delta: yes yes yes |
|
64 | plain-cl-delta: yes yes yes | |
63 | compression: zlib zlib zlib (no-zstd !) |
|
65 | compression: zlib zlib zlib (no-zstd !) | |
64 | compression: zstd zstd zstd (zstd !) |
|
66 | compression: zstd zstd zstd (zstd !) | |
@@ -432,6 +434,7 b' downgrading' | |||||
432 | persistent-nodemap: yes yes no (rust !) |
|
434 | persistent-nodemap: yes yes no (rust !) | |
433 | copies-sdc: yes yes no |
|
435 | copies-sdc: yes yes no | |
434 | revlog-v2: yes yes no |
|
436 | revlog-v2: yes yes no | |
|
437 | changelog-v2: no no no | |||
435 | plain-cl-delta: yes yes yes |
|
438 | plain-cl-delta: yes yes yes | |
436 | compression: zlib zlib zlib (no-zstd !) |
|
439 | compression: zlib zlib zlib (no-zstd !) | |
437 | compression: zstd zstd zstd (zstd !) |
|
440 | compression: zstd zstd zstd (zstd !) | |
@@ -461,6 +464,7 b' downgrading' | |||||
461 | persistent-nodemap: yes yes no (rust !) |
|
464 | persistent-nodemap: yes yes no (rust !) | |
462 | copies-sdc: no no no |
|
465 | copies-sdc: no no no | |
463 | revlog-v2: yes yes no |
|
466 | revlog-v2: yes yes no | |
|
467 | changelog-v2: no no no | |||
464 | plain-cl-delta: yes yes yes |
|
468 | plain-cl-delta: yes yes yes | |
465 | compression: zlib zlib zlib (no-zstd !) |
|
469 | compression: zlib zlib zlib (no-zstd !) | |
466 | compression: zstd zstd zstd (zstd !) |
|
470 | compression: zstd zstd zstd (zstd !) | |
@@ -487,6 +491,7 b' upgrading' | |||||
487 | persistent-nodemap: yes yes no (rust !) |
|
491 | persistent-nodemap: yes yes no (rust !) | |
488 | copies-sdc: yes yes no |
|
492 | copies-sdc: yes yes no | |
489 | revlog-v2: yes yes no |
|
493 | revlog-v2: yes yes no | |
|
494 | changelog-v2: no no no | |||
490 | plain-cl-delta: yes yes yes |
|
495 | plain-cl-delta: yes yes yes | |
491 | compression: zlib zlib zlib (no-zstd !) |
|
496 | compression: zlib zlib zlib (no-zstd !) | |
492 | compression: zstd zstd zstd (zstd !) |
|
497 | compression: zstd zstd zstd (zstd !) |
@@ -64,6 +64,7 b' As a result, -1 passed from Rust for the' | |||||
64 | persistent-nodemap: yes |
|
64 | persistent-nodemap: yes | |
65 | copies-sdc: no |
|
65 | copies-sdc: no | |
66 | revlog-v2: no |
|
66 | revlog-v2: no | |
|
67 | changelog-v2: no | |||
67 | plain-cl-delta: yes |
|
68 | plain-cl-delta: yes | |
68 | compression: zlib (no-zstd !) |
|
69 | compression: zlib (no-zstd !) | |
69 | compression: zstd (zstd !) |
|
70 | compression: zstd (zstd !) | |
@@ -583,6 +584,7 b' downgrading' | |||||
583 | persistent-nodemap: yes no no |
|
584 | persistent-nodemap: yes no no | |
584 | copies-sdc: no no no |
|
585 | copies-sdc: no no no | |
585 | revlog-v2: no no no |
|
586 | revlog-v2: no no no | |
|
587 | changelog-v2: no no no | |||
586 | plain-cl-delta: yes yes yes |
|
588 | plain-cl-delta: yes yes yes | |
587 | compression: zlib zlib zlib (no-zstd !) |
|
589 | compression: zlib zlib zlib (no-zstd !) | |
588 | compression: zstd zstd zstd (zstd !) |
|
590 | compression: zstd zstd zstd (zstd !) | |
@@ -630,6 +632,7 b' upgrading' | |||||
630 | persistent-nodemap: no yes no |
|
632 | persistent-nodemap: no yes no | |
631 | copies-sdc: no no no |
|
633 | copies-sdc: no no no | |
632 | revlog-v2: no no no |
|
634 | revlog-v2: no no no | |
|
635 | changelog-v2: no no no | |||
633 | plain-cl-delta: yes yes yes |
|
636 | plain-cl-delta: yes yes yes | |
634 | compression: zlib zlib zlib (no-zstd !) |
|
637 | compression: zlib zlib zlib (no-zstd !) | |
635 | compression: zstd zstd zstd (zstd !) |
|
638 | compression: zstd zstd zstd (zstd !) |
@@ -60,6 +60,7 b' Check that we can upgrade to sidedata' | |||||
60 | persistent-nodemap: yes yes no (rust !) |
|
60 | persistent-nodemap: yes yes no (rust !) | |
61 | copies-sdc: no no no |
|
61 | copies-sdc: no no no | |
62 | revlog-v2: no no no |
|
62 | revlog-v2: no no no | |
|
63 | changelog-v2: no no no | |||
63 | plain-cl-delta: yes yes yes |
|
64 | plain-cl-delta: yes yes yes | |
64 | compression: zlib zlib zlib (no-zstd !) |
|
65 | compression: zlib zlib zlib (no-zstd !) | |
65 | compression: zstd zstd zstd (zstd !) |
|
66 | compression: zstd zstd zstd (zstd !) | |
@@ -75,6 +76,7 b' Check that we can upgrade to sidedata' | |||||
75 | persistent-nodemap: yes yes no (rust !) |
|
76 | persistent-nodemap: yes yes no (rust !) | |
76 | copies-sdc: no no no |
|
77 | copies-sdc: no no no | |
77 | revlog-v2: no yes no |
|
78 | revlog-v2: no yes no | |
|
79 | changelog-v2: no no no | |||
78 | plain-cl-delta: yes yes yes |
|
80 | plain-cl-delta: yes yes yes | |
79 | compression: zlib zlib zlib (no-zstd !) |
|
81 | compression: zlib zlib zlib (no-zstd !) | |
80 | compression: zstd zstd zstd (zstd !) |
|
82 | compression: zstd zstd zstd (zstd !) | |
@@ -96,6 +98,7 b' Check that we can downgrade from sidedat' | |||||
96 | persistent-nodemap: yes yes no (rust !) |
|
98 | persistent-nodemap: yes yes no (rust !) | |
97 | copies-sdc: no no no |
|
99 | copies-sdc: no no no | |
98 | revlog-v2: yes no no |
|
100 | revlog-v2: yes no no | |
|
101 | changelog-v2: no no no | |||
99 | plain-cl-delta: yes yes yes |
|
102 | plain-cl-delta: yes yes yes | |
100 | compression: zlib zlib zlib (no-zstd !) |
|
103 | compression: zlib zlib zlib (no-zstd !) | |
101 | compression: zstd zstd zstd (zstd !) |
|
104 | compression: zstd zstd zstd (zstd !) | |
@@ -111,6 +114,7 b' Check that we can downgrade from sidedat' | |||||
111 | persistent-nodemap: yes yes no (rust !) |
|
114 | persistent-nodemap: yes yes no (rust !) | |
112 | copies-sdc: no no no |
|
115 | copies-sdc: no no no | |
113 | revlog-v2: yes no no |
|
116 | revlog-v2: yes no no | |
|
117 | changelog-v2: no no no | |||
114 | plain-cl-delta: yes yes yes |
|
118 | plain-cl-delta: yes yes yes | |
115 | compression: zlib zlib zlib (no-zstd !) |
|
119 | compression: zlib zlib zlib (no-zstd !) | |
116 | compression: zstd zstd zstd (zstd !) |
|
120 | compression: zstd zstd zstd (zstd !) |
@@ -1,7 +1,7 b'' | |||||
1 | Test transaction safety |
|
1 | Test transaction safety | |
2 | ======================= |
|
2 | ======================= | |
3 |
|
3 | |||
4 | #testcases revlogv1 revlogv2 |
|
4 | #testcases revlogv1 revlogv2 changelogv2 | |
5 |
|
5 | |||
6 | #if revlogv1 |
|
6 | #if revlogv1 | |
7 |
|
7 | |||
@@ -21,6 +21,15 b' Test transaction safety' | |||||
21 |
|
21 | |||
22 | #endif |
|
22 | #endif | |
23 |
|
23 | |||
|
24 | #if changelogv2 | |||
|
25 | ||||
|
26 | $ cat << EOF >> $HGRCPATH | |||
|
27 | > [format] | |||
|
28 | > exp-use-changelog-v2=enable-unstable-format-and-corrupt-my-data | |||
|
29 | > EOF | |||
|
30 | ||||
|
31 | #endif | |||
|
32 | ||||
24 | This test basic case to make sure external process do not see transaction |
|
33 | This test basic case to make sure external process do not see transaction | |
25 | content until it is committed. |
|
34 | content until it is committed. | |
26 |
|
35 |
@@ -65,6 +65,7 b' An upgrade of a repository created with ' | |||||
65 | persistent-nodemap: yes (rust !) |
|
65 | persistent-nodemap: yes (rust !) | |
66 | copies-sdc: no |
|
66 | copies-sdc: no | |
67 | revlog-v2: no |
|
67 | revlog-v2: no | |
|
68 | changelog-v2: no | |||
68 | plain-cl-delta: yes |
|
69 | plain-cl-delta: yes | |
69 | compression: zlib |
|
70 | compression: zlib | |
70 | compression-level: default |
|
71 | compression-level: default | |
@@ -79,6 +80,7 b' An upgrade of a repository created with ' | |||||
79 | persistent-nodemap: yes yes no (rust !) |
|
80 | persistent-nodemap: yes yes no (rust !) | |
80 | copies-sdc: no no no |
|
81 | copies-sdc: no no no | |
81 | revlog-v2: no no no |
|
82 | revlog-v2: no no no | |
|
83 | changelog-v2: no no no | |||
82 | plain-cl-delta: yes yes yes |
|
84 | plain-cl-delta: yes yes yes | |
83 | compression: zlib zlib zlib (no-zstd !) |
|
85 | compression: zlib zlib zlib (no-zstd !) | |
84 | compression: zlib zlib zstd (zstd !) |
|
86 | compression: zlib zlib zstd (zstd !) | |
@@ -94,6 +96,7 b' An upgrade of a repository created with ' | |||||
94 | persistent-nodemap: yes yes no (rust !) |
|
96 | persistent-nodemap: yes yes no (rust !) | |
95 | copies-sdc: no no no |
|
97 | copies-sdc: no no no | |
96 | revlog-v2: no no no |
|
98 | revlog-v2: no no no | |
|
99 | changelog-v2: no no no | |||
97 | plain-cl-delta: yes yes yes |
|
100 | plain-cl-delta: yes yes yes | |
98 | compression: zlib zlib zlib (no-zstd !) |
|
101 | compression: zlib zlib zlib (no-zstd !) | |
99 | compression: zlib zlib zstd (zstd !) |
|
102 | compression: zlib zlib zstd (zstd !) | |
@@ -109,6 +112,7 b' An upgrade of a repository created with ' | |||||
109 | [formatvariant.name.mismatchdefault|persistent-nodemap:][formatvariant.repo.mismatchdefault| yes][formatvariant.config.special| yes][formatvariant.default| no] (rust !) |
|
112 | [formatvariant.name.mismatchdefault|persistent-nodemap:][formatvariant.repo.mismatchdefault| yes][formatvariant.config.special| yes][formatvariant.default| no] (rust !) | |
110 | [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
|
113 | [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
111 | [formatvariant.name.uptodate|revlog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
|
114 | [formatvariant.name.uptodate|revlog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
|
115 | [formatvariant.name.uptodate|changelog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |||
112 | [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] |
|
116 | [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | |
113 | [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] (no-zstd !) |
|
117 | [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] (no-zstd !) | |
114 | [formatvariant.name.mismatchdefault|compression: ][formatvariant.repo.mismatchdefault| zlib][formatvariant.config.special| zlib][formatvariant.default| zstd] (zstd !) |
|
118 | [formatvariant.name.mismatchdefault|compression: ][formatvariant.repo.mismatchdefault| zlib][formatvariant.config.special| zlib][formatvariant.default| zstd] (zstd !) | |
@@ -166,6 +170,12 b' An upgrade of a repository created with ' | |||||
166 | "repo": false |
|
170 | "repo": false | |
167 | }, |
|
171 | }, | |
168 | { |
|
172 | { | |
|
173 | "config": false, | |||
|
174 | "default": false, | |||
|
175 | "name": "changelog-v2", | |||
|
176 | "repo": false | |||
|
177 | }, | |||
|
178 | { | |||
169 | "config": true, |
|
179 | "config": true, | |
170 | "default": true, |
|
180 | "default": true, | |
171 | "name": "plain-cl-delta", |
|
181 | "name": "plain-cl-delta", | |
@@ -324,6 +334,7 b' Various sub-optimal detections work' | |||||
324 | persistent-nodemap: no |
|
334 | persistent-nodemap: no | |
325 | copies-sdc: no |
|
335 | copies-sdc: no | |
326 | revlog-v2: no |
|
336 | revlog-v2: no | |
|
337 | changelog-v2: no | |||
327 | plain-cl-delta: yes |
|
338 | plain-cl-delta: yes | |
328 | compression: zlib |
|
339 | compression: zlib | |
329 | compression-level: default |
|
340 | compression-level: default | |
@@ -338,6 +349,7 b' Various sub-optimal detections work' | |||||
338 | persistent-nodemap: no yes no (rust !) |
|
349 | persistent-nodemap: no yes no (rust !) | |
339 | copies-sdc: no no no |
|
350 | copies-sdc: no no no | |
340 | revlog-v2: no no no |
|
351 | revlog-v2: no no no | |
|
352 | changelog-v2: no no no | |||
341 | plain-cl-delta: yes yes yes |
|
353 | plain-cl-delta: yes yes yes | |
342 | compression: zlib zlib zlib (no-zstd !) |
|
354 | compression: zlib zlib zlib (no-zstd !) | |
343 | compression: zlib zlib zstd (zstd !) |
|
355 | compression: zlib zlib zstd (zstd !) | |
@@ -353,6 +365,7 b' Various sub-optimal detections work' | |||||
353 | persistent-nodemap: no yes no (rust !) |
|
365 | persistent-nodemap: no yes no (rust !) | |
354 | copies-sdc: no no no |
|
366 | copies-sdc: no no no | |
355 | revlog-v2: no no no |
|
367 | revlog-v2: no no no | |
|
368 | changelog-v2: no no no | |||
356 | plain-cl-delta: yes yes yes |
|
369 | plain-cl-delta: yes yes yes | |
357 | compression: zlib zlib zlib (no-zstd !) |
|
370 | compression: zlib zlib zlib (no-zstd !) | |
358 | compression: zlib zlib zstd (zstd !) |
|
371 | compression: zlib zlib zstd (zstd !) | |
@@ -368,6 +381,7 b' Various sub-optimal detections work' | |||||
368 | [formatvariant.name.mismatchconfig|persistent-nodemap:][formatvariant.repo.mismatchconfig| no][formatvariant.config.special| yes][formatvariant.default| no] (rust !) |
|
381 | [formatvariant.name.mismatchconfig|persistent-nodemap:][formatvariant.repo.mismatchconfig| no][formatvariant.config.special| yes][formatvariant.default| no] (rust !) | |
369 | [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
|
382 | [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
370 | [formatvariant.name.uptodate|revlog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] |
|
383 | [formatvariant.name.uptodate|revlog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |
|
384 | [formatvariant.name.uptodate|changelog-v2: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no] | |||
371 | [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] |
|
385 | [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes] | |
372 | [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] (no-zstd !) |
|
386 | [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib] (no-zstd !) | |
373 | [formatvariant.name.mismatchdefault|compression: ][formatvariant.repo.mismatchdefault| zlib][formatvariant.config.special| zlib][formatvariant.default| zstd] (zstd !) |
|
387 | [formatvariant.name.mismatchdefault|compression: ][formatvariant.repo.mismatchdefault| zlib][formatvariant.config.special| zlib][formatvariant.default| zstd] (zstd !) | |
@@ -1349,6 +1363,7 b' upgrade' | |||||
1349 | persistent-nodemap: yes yes no (rust !) |
|
1363 | persistent-nodemap: yes yes no (rust !) | |
1350 | copies-sdc: no no no |
|
1364 | copies-sdc: no no no | |
1351 | revlog-v2: no no no |
|
1365 | revlog-v2: no no no | |
|
1366 | changelog-v2: no no no | |||
1352 | plain-cl-delta: yes yes yes |
|
1367 | plain-cl-delta: yes yes yes | |
1353 | compression: zlib zlib zlib (no-zstd !) |
|
1368 | compression: zlib zlib zlib (no-zstd !) | |
1354 | compression: zstd zlib zstd (zstd !) |
|
1369 | compression: zstd zlib zstd (zstd !) | |
@@ -1389,6 +1404,7 b' downgrade' | |||||
1389 | persistent-nodemap: yes yes no (rust !) |
|
1404 | persistent-nodemap: yes yes no (rust !) | |
1390 | copies-sdc: no no no |
|
1405 | copies-sdc: no no no | |
1391 | revlog-v2: no no no |
|
1406 | revlog-v2: no no no | |
|
1407 | changelog-v2: no no no | |||
1392 | plain-cl-delta: yes yes yes |
|
1408 | plain-cl-delta: yes yes yes | |
1393 | compression: zlib zlib zlib (no-zstd !) |
|
1409 | compression: zlib zlib zlib (no-zstd !) | |
1394 | compression: zlib zlib zstd (zstd !) |
|
1410 | compression: zlib zlib zstd (zstd !) | |
@@ -1432,6 +1448,7 b' upgrade from hgrc' | |||||
1432 | persistent-nodemap: yes yes no (rust !) |
|
1448 | persistent-nodemap: yes yes no (rust !) | |
1433 | copies-sdc: no no no |
|
1449 | copies-sdc: no no no | |
1434 | revlog-v2: no no no |
|
1450 | revlog-v2: no no no | |
|
1451 | changelog-v2: no no no | |||
1435 | plain-cl-delta: yes yes yes |
|
1452 | plain-cl-delta: yes yes yes | |
1436 | compression: zlib zlib zlib (no-zstd !) |
|
1453 | compression: zlib zlib zlib (no-zstd !) | |
1437 | compression: zstd zstd zstd (zstd !) |
|
1454 | compression: zstd zstd zstd (zstd !) | |
@@ -1481,6 +1498,7 b' upgrade' | |||||
1481 | persistent-nodemap: yes yes no (rust !) |
|
1498 | persistent-nodemap: yes yes no (rust !) | |
1482 | copies-sdc: no no no |
|
1499 | copies-sdc: no no no | |
1483 | revlog-v2: yes no no |
|
1500 | revlog-v2: yes no no | |
|
1501 | changelog-v2: no no no | |||
1484 | plain-cl-delta: yes yes yes |
|
1502 | plain-cl-delta: yes yes yes | |
1485 | compression: zlib zlib zlib (no-zstd !) |
|
1503 | compression: zlib zlib zlib (no-zstd !) | |
1486 | compression: zstd zstd zstd (zstd !) |
|
1504 | compression: zstd zstd zstd (zstd !) | |
@@ -1527,6 +1545,7 b' downgrade' | |||||
1527 | persistent-nodemap: yes yes no (rust !) |
|
1545 | persistent-nodemap: yes yes no (rust !) | |
1528 | copies-sdc: no no no |
|
1546 | copies-sdc: no no no | |
1529 | revlog-v2: no no no |
|
1547 | revlog-v2: no no no | |
|
1548 | changelog-v2: no no no | |||
1530 | plain-cl-delta: yes yes yes |
|
1549 | plain-cl-delta: yes yes yes | |
1531 | compression: zlib zlib zlib (no-zstd !) |
|
1550 | compression: zlib zlib zlib (no-zstd !) | |
1532 | compression: zstd zstd zstd (zstd !) |
|
1551 | compression: zstd zstd zstd (zstd !) | |
@@ -1574,6 +1593,7 b' upgrade from hgrc' | |||||
1574 | persistent-nodemap: yes yes no (rust !) |
|
1593 | persistent-nodemap: yes yes no (rust !) | |
1575 | copies-sdc: no no no |
|
1594 | copies-sdc: no no no | |
1576 | revlog-v2: yes yes no |
|
1595 | revlog-v2: yes yes no | |
|
1596 | changelog-v2: no no no | |||
1577 | plain-cl-delta: yes yes yes |
|
1597 | plain-cl-delta: yes yes yes | |
1578 | compression: zlib zlib zlib (no-zstd !) |
|
1598 | compression: zlib zlib zlib (no-zstd !) | |
1579 | compression: zstd zstd zstd (zstd !) |
|
1599 | compression: zstd zstd zstd (zstd !) |
General Comments 0
You need to be logged in to leave comments.
Login now