Show More
@@ -748,6 +748,12 b' coreconfigitem(' | |||
|
748 | 748 | b'format', b'usestore', default=True, |
|
749 | 749 | ) |
|
750 | 750 | coreconfigitem( |
|
751 | b'format', | |
|
752 | b'exp-use-copies-side-data-changeset', | |
|
753 | default=False, | |
|
754 | experimental=True, | |
|
755 | ) | |
|
756 | coreconfigitem( | |
|
751 | 757 | b'format', b'use-side-data', default=False, experimental=True, |
|
752 | 758 | ) |
|
753 | 759 | coreconfigitem( |
@@ -440,6 +440,10 b" SPARSEREVLOG_REQUIREMENT = b'sparserevlo" | |||
|
440 | 440 | # information for revision without altering their original hashes. |
|
441 | 441 | SIDEDATA_REQUIREMENT = b'exp-sidedata-flag' |
|
442 | 442 | |
|
443 | # A repository with the the copies-sidedata-changeset requirement will store | |
|
444 | # copies related information in changeset's sidedata. | |
|
445 | COPIESSDC_REQUIREMENT = b'exp-copies-sidedata-changeset' | |
|
446 | ||
|
443 | 447 | # Functions receiving (ui, features) that extensions can register to impact |
|
444 | 448 | # the ability to load repositories with custom requirements. Only |
|
445 | 449 | # functions defined in loaded extensions are called. |
@@ -997,6 +1001,7 b' class localrepository(object):' | |||
|
997 | 1001 | b'revlogv1', |
|
998 | 1002 | b'generaldelta', |
|
999 | 1003 | b'treemanifest', |
|
1004 | COPIESSDC_REQUIREMENT, | |
|
1000 | 1005 | REVLOGV2_REQUIREMENT, |
|
1001 | 1006 | SIDEDATA_REQUIREMENT, |
|
1002 | 1007 | SPARSEREVLOG_REQUIREMENT, |
@@ -3512,6 +3517,10 b' def newreporequirements(ui, createopts):' | |||
|
3512 | 3517 | # experimental config: format.use-side-data |
|
3513 | 3518 | if ui.configbool(b'format', b'use-side-data'): |
|
3514 | 3519 | requirements.add(SIDEDATA_REQUIREMENT) |
|
3520 | # experimental config: format.exp-use-copies-side-data-changeset | |
|
3521 | if ui.configbool(b'format', b'exp-use-copies-side-data-changeset'): | |
|
3522 | requirements.add(SIDEDATA_REQUIREMENT) | |
|
3523 | requirements.add(COPIESSDC_REQUIREMENT) | |
|
3515 | 3524 | if ui.configbool(b'experimental', b'treemanifest'): |
|
3516 | 3525 | requirements.add(b'treemanifest') |
|
3517 | 3526 |
General Comments 0
You need to be logged in to leave comments.
Login now