##// END OF EJS Templates
sidedatacopies: teach upgrade about the new requirement...
marmoute -
r43408:f9dc98a9 default
parent child Browse files
Show More
@@ -371,6 +371,21 b' class sidedata(requirementformatvariant)'
371 371
372 372
373 373 @registerformatvariant
374 class copiessdc(requirementformatvariant):
375 name = b'copies-sdc'
376
377 _requirement = localrepo.COPIESSDC_REQUIREMENT
378
379 default = False
380
381 description = _(b'Stores copies information alongside changesets.')
382
383 upgrademessage = _(
384 b'Allows to use more efficient algorithm to deal with ' b'copy tracing.'
385 )
386
387
388 @registerformatvariant
374 389 class removecldeltachain(formatvariant):
375 390 name = b'plain-cl-delta'
376 391
@@ -135,6 +135,9 b' non-lfs content, and the extension enabl'
135 135 sidedata
136 136 Allows storage of extra data alongside a revision.
137 137
138 copies-sdc
139 Allows to use more efficient algorithm to deal with copy tracing.
140
138 141 beginning upgrade...
139 142 repository locked and read-only
140 143 creating temporary repository to stage migrated data: * (glob)
@@ -56,6 +56,7 b' Check that we can upgrade to sidedata'
56 56 generaldelta: yes yes yes
57 57 sparserevlog: yes yes yes
58 58 sidedata: no no no
59 copies-sdc: no no no
59 60 plain-cl-delta: yes yes yes
60 61 compression: zlib zlib zlib
61 62 compression-level: default default default
@@ -66,6 +67,7 b' Check that we can upgrade to sidedata'
66 67 generaldelta: yes yes yes
67 68 sparserevlog: yes yes yes
68 69 sidedata: no yes no
70 copies-sdc: no no no
69 71 plain-cl-delta: yes yes yes
70 72 compression: zlib zlib zlib
71 73 compression-level: default default default
@@ -82,6 +84,7 b' Check that we can downgrade from sidedat'
82 84 generaldelta: yes yes yes
83 85 sparserevlog: yes yes yes
84 86 sidedata: yes no no
87 copies-sdc: no no no
85 88 plain-cl-delta: yes yes yes
86 89 compression: zlib zlib zlib
87 90 compression-level: default default default
@@ -92,6 +95,7 b' Check that we can downgrade from sidedat'
92 95 generaldelta: yes yes yes
93 96 sparserevlog: yes yes yes
94 97 sidedata: yes no no
98 copies-sdc: no no no
95 99 plain-cl-delta: yes yes yes
96 100 compression: zlib zlib zlib
97 101 compression-level: default default default
@@ -58,6 +58,7 b' An upgrade of a repository created with '
58 58 generaldelta: yes
59 59 sparserevlog: yes
60 60 sidedata: no
61 copies-sdc: no
61 62 plain-cl-delta: yes
62 63 compression: zlib
63 64 compression-level: default
@@ -68,6 +69,7 b' An upgrade of a repository created with '
68 69 generaldelta: yes yes yes
69 70 sparserevlog: yes yes yes
70 71 sidedata: no no no
72 copies-sdc: no no no
71 73 plain-cl-delta: yes yes yes
72 74 compression: zlib zlib zlib
73 75 compression-level: default default default
@@ -78,6 +80,7 b' An upgrade of a repository created with '
78 80 generaldelta: yes yes yes
79 81 sparserevlog: yes yes yes
80 82 sidedata: no no no
83 copies-sdc: no no no
81 84 plain-cl-delta: yes yes yes
82 85 compression: zlib zlib zlib
83 86 compression-level: default default default
@@ -88,6 +91,7 b' An upgrade of a repository created with '
88 91 [formatvariant.name.uptodate|generaldelta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes]
89 92 [formatvariant.name.uptodate|sparserevlog: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes]
90 93 [formatvariant.name.uptodate|sidedata: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no]
94 [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no]
91 95 [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes]
92 96 [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib]
93 97 [formatvariant.name.uptodate|compression-level:][formatvariant.repo.uptodate| default][formatvariant.config.default| default][formatvariant.default| default]
@@ -124,6 +128,12 b' An upgrade of a repository created with '
124 128 "repo": false
125 129 },
126 130 {
131 "config": false,
132 "default": false,
133 "name": "copies-sdc",
134 "repo": false
135 },
136 {
127 137 "config": true,
128 138 "default": true,
129 139 "name": "plain-cl-delta",
@@ -152,6 +162,9 b' An upgrade of a repository created with '
152 162 sidedata
153 163 Allows storage of extra data alongside a revision.
154 164
165 copies-sdc
166 Allows to use more efficient algorithm to deal with copy tracing.
167
155 168 additional optimizations are available by specifying "--optimize <name>":
156 169
157 170 re-delta-parent
@@ -179,6 +192,9 b' An upgrade of a repository created with '
179 192 sidedata
180 193 Allows storage of extra data alongside a revision.
181 194
195 copies-sdc
196 Allows to use more efficient algorithm to deal with copy tracing.
197
182 198 re-delta-parent
183 199 deltas within internal storage will choose a new base revision if needed
184 200
@@ -206,6 +222,9 b' modern form of the option'
206 222 sidedata
207 223 Allows storage of extra data alongside a revision.
208 224
225 copies-sdc
226 Allows to use more efficient algorithm to deal with copy tracing.
227
209 228 re-delta-parent
210 229 deltas within internal storage will choose a new base revision if needed
211 230
@@ -242,6 +261,7 b' Various sub-optimal detections work'
242 261 generaldelta: no
243 262 sparserevlog: no
244 263 sidedata: no
264 copies-sdc: no
245 265 plain-cl-delta: yes
246 266 compression: zlib
247 267 compression-level: default
@@ -252,6 +272,7 b' Various sub-optimal detections work'
252 272 generaldelta: no yes yes
253 273 sparserevlog: no yes yes
254 274 sidedata: no no no
275 copies-sdc: no no no
255 276 plain-cl-delta: yes yes yes
256 277 compression: zlib zlib zlib
257 278 compression-level: default default default
@@ -262,6 +283,7 b' Various sub-optimal detections work'
262 283 generaldelta: no no yes
263 284 sparserevlog: no no yes
264 285 sidedata: no no no
286 copies-sdc: no no no
265 287 plain-cl-delta: yes yes yes
266 288 compression: zlib zlib zlib
267 289 compression-level: default default default
@@ -272,6 +294,7 b' Various sub-optimal detections work'
272 294 [formatvariant.name.mismatchdefault|generaldelta: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes]
273 295 [formatvariant.name.mismatchdefault|sparserevlog: ][formatvariant.repo.mismatchdefault| no][formatvariant.config.special| no][formatvariant.default| yes]
274 296 [formatvariant.name.uptodate|sidedata: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no]
297 [formatvariant.name.uptodate|copies-sdc: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no]
275 298 [formatvariant.name.uptodate|plain-cl-delta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes]
276 299 [formatvariant.name.uptodate|compression: ][formatvariant.repo.uptodate| zlib][formatvariant.config.default| zlib][formatvariant.default| zlib]
277 300 [formatvariant.name.uptodate|compression-level:][formatvariant.repo.uptodate| default][formatvariant.config.default| default][formatvariant.default| default]
@@ -312,6 +335,9 b' Various sub-optimal detections work'
312 335 sidedata
313 336 Allows storage of extra data alongside a revision.
314 337
338 copies-sdc
339 Allows to use more efficient algorithm to deal with copy tracing.
340
315 341 additional optimizations are available by specifying "--optimize <name>":
316 342
317 343 re-delta-parent
@@ -363,6 +389,9 b' Various sub-optimal detections work'
363 389 sidedata
364 390 Allows storage of extra data alongside a revision.
365 391
392 copies-sdc
393 Allows to use more efficient algorithm to deal with copy tracing.
394
366 395 additional optimizations are available by specifying "--optimize <name>":
367 396
368 397 re-delta-parent
@@ -392,6 +421,9 b' Upgrading a repository that is already m'
392 421 sidedata
393 422 Allows storage of extra data alongside a revision.
394 423
424 copies-sdc
425 Allows to use more efficient algorithm to deal with copy tracing.
426
395 427 beginning upgrade...
396 428 repository locked and read-only
397 429 creating temporary repository to stage migrated data: $TESTTMP/modern/.hg/upgrade.* (glob)
@@ -446,6 +478,9 b' make sure we have a .d file'
446 478 sidedata
447 479 Allows storage of extra data alongside a revision.
448 480
481 copies-sdc
482 Allows to use more efficient algorithm to deal with copy tracing.
483
449 484 beginning upgrade...
450 485 repository locked and read-only
451 486 creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob)
@@ -545,6 +580,9 b' unless --no-backup is passed'
545 580 sidedata
546 581 Allows storage of extra data alongside a revision.
547 582
583 copies-sdc
584 Allows to use more efficient algorithm to deal with copy tracing.
585
548 586 beginning upgrade...
549 587 repository locked and read-only
550 588 creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob)
@@ -582,6 +620,9 b' We can restrict optimization to some rev'
582 620 sidedata
583 621 Allows storage of extra data alongside a revision.
584 622
623 copies-sdc
624 Allows to use more efficient algorithm to deal with copy tracing.
625
585 626 re-delta-parent
586 627 deltas within internal storage will choose a new base revision if needed
587 628
@@ -659,6 +700,9 b' Check we can select negatively'
659 700 sidedata
660 701 Allows storage of extra data alongside a revision.
661 702
703 copies-sdc
704 Allows to use more efficient algorithm to deal with copy tracing.
705
662 706 re-delta-parent
663 707 deltas within internal storage will choose a new base revision if needed
664 708
@@ -708,6 +752,9 b' Check that we can select changelog only'
708 752 sidedata
709 753 Allows storage of extra data alongside a revision.
710 754
755 copies-sdc
756 Allows to use more efficient algorithm to deal with copy tracing.
757
711 758 re-delta-parent
712 759 deltas within internal storage will choose a new base revision if needed
713 760
@@ -757,6 +804,9 b' Check that we can select filelog only'
757 804 sidedata
758 805 Allows storage of extra data alongside a revision.
759 806
807 copies-sdc
808 Allows to use more efficient algorithm to deal with copy tracing.
809
760 810 re-delta-parent
761 811 deltas within internal storage will choose a new base revision if needed
762 812
@@ -811,6 +861,9 b" Check you can't skip revlog clone during"
811 861 sidedata
812 862 Allows storage of extra data alongside a revision.
813 863
864 copies-sdc
865 Allows to use more efficient algorithm to deal with copy tracing.
866
814 867 re-delta-parent
815 868 deltas within internal storage will choose a new base revision if needed
816 869
@@ -866,6 +919,9 b" Check you can't skip revlog clone during"
866 919 sidedata
867 920 Allows storage of extra data alongside a revision.
868 921
922 copies-sdc
923 Allows to use more efficient algorithm to deal with copy tracing.
924
869 925 re-delta-parent
870 926 deltas within internal storage will choose a new base revision if needed
871 927
@@ -923,6 +979,9 b" store files with special filenames aren'"
923 979 sidedata
924 980 Allows storage of extra data alongside a revision.
925 981
982 copies-sdc
983 Allows to use more efficient algorithm to deal with copy tracing.
984
926 985 beginning upgrade...
927 986 repository locked and read-only
928 987 creating temporary repository to stage migrated data: $TESTTMP/store-filenames/.hg/upgrade.* (glob)
@@ -957,6 +1016,9 b" store files with special filenames aren'"
957 1016 sidedata
958 1017 Allows storage of extra data alongside a revision.
959 1018
1019 copies-sdc
1020 Allows to use more efficient algorithm to deal with copy tracing.
1021
960 1022 re-delta-fulladd
961 1023 each revision will be added as new content to the internal storage; this will likely drastically slow down execution time, but some extensions might need it
962 1024
@@ -1024,6 +1086,9 b' Check upgrading a large file repository'
1024 1086 sidedata
1025 1087 Allows storage of extra data alongside a revision.
1026 1088
1089 copies-sdc
1090 Allows to use more efficient algorithm to deal with copy tracing.
1091
1027 1092 beginning upgrade...
1028 1093 repository locked and read-only
1029 1094 creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob)
@@ -1080,6 +1145,9 b' Check upgrading a large file repository'
1080 1145 sidedata
1081 1146 Allows storage of extra data alongside a revision.
1082 1147
1148 copies-sdc
1149 Allows to use more efficient algorithm to deal with copy tracing.
1150
1083 1151 beginning upgrade...
1084 1152 repository locked and read-only
1085 1153 creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob)
@@ -1178,6 +1246,9 b' repository config is taken in account'
1178 1246 sidedata
1179 1247 Allows storage of extra data alongside a revision.
1180 1248
1249 copies-sdc
1250 Allows to use more efficient algorithm to deal with copy tracing.
1251
1181 1252 re-delta-all
1182 1253 deltas within internal storage will be fully recomputed; this will likely drastically slow down execution time
1183 1254
@@ -1270,6 +1341,7 b' upgrade'
1270 1341 generaldelta: yes yes yes
1271 1342 sparserevlog: yes yes yes
1272 1343 sidedata: no no no
1344 copies-sdc: no no no
1273 1345 plain-cl-delta: yes yes yes
1274 1346 compression: zstd zlib zlib
1275 1347 compression-level: default default default
@@ -1292,6 +1364,7 b' downgrade'
1292 1364 generaldelta: yes yes yes
1293 1365 sparserevlog: yes yes yes
1294 1366 sidedata: no no no
1367 copies-sdc: no no no
1295 1368 plain-cl-delta: yes yes yes
1296 1369 compression: zlib zlib zlib
1297 1370 compression-level: default default default
@@ -1317,6 +1390,7 b' upgrade from hgrc'
1317 1390 generaldelta: yes yes yes
1318 1391 sparserevlog: yes yes yes
1319 1392 sidedata: no no no
1393 copies-sdc: no no no
1320 1394 plain-cl-delta: yes yes yes
1321 1395 compression: zstd zstd zlib
1322 1396 compression-level: default default default
@@ -1344,6 +1418,7 b' upgrade'
1344 1418 generaldelta: yes yes yes
1345 1419 sparserevlog: yes yes yes
1346 1420 sidedata: yes no no
1421 copies-sdc: no no no
1347 1422 plain-cl-delta: yes yes yes
1348 1423 compression: zstd zstd zlib
1349 1424 compression-level: default default default
@@ -1371,6 +1446,7 b' downgrade'
1371 1446 generaldelta: yes yes yes
1372 1447 sparserevlog: yes yes yes
1373 1448 sidedata: no no no
1449 copies-sdc: no no no
1374 1450 plain-cl-delta: yes yes yes
1375 1451 compression: zstd zstd zlib
1376 1452 compression-level: default default default
@@ -1398,6 +1474,7 b' upgrade from hgrc'
1398 1474 generaldelta: yes yes yes
1399 1475 sparserevlog: yes yes yes
1400 1476 sidedata: yes yes no
1477 copies-sdc: no no no
1401 1478 plain-cl-delta: yes yes yes
1402 1479 compression: zstd zstd zlib
1403 1480 compression-level: default default default
General Comments 0
You need to be logged in to leave comments. Login now