Show More
@@ -742,9 +742,9 b' def _copyrevlog(tr, destrepo, oldrl, une' | |||||
742 | destrepo.svfs.fncache.add(unencodedname[:-2] + b'.d') |
|
742 | destrepo.svfs.fncache.add(unencodedname[:-2] + b'.d') | |
743 |
|
743 | |||
744 |
|
744 | |||
745 |
UPGRADE_CHANGELOG = |
|
745 | UPGRADE_CHANGELOG = b"changelog" | |
746 |
UPGRADE_MANIFEST = |
|
746 | UPGRADE_MANIFEST = b"manifest" | |
747 |
UPGRADE_FILELOGS = |
|
747 | UPGRADE_FILELOGS = b"all-filelogs" | |
748 |
|
748 | |||
749 | UPGRADE_ALL_REVLOGS = frozenset( |
|
749 | UPGRADE_ALL_REVLOGS = frozenset( | |
750 | [UPGRADE_CHANGELOG, UPGRADE_MANIFEST, UPGRADE_FILELOGS] |
|
750 | [UPGRADE_CHANGELOG, UPGRADE_MANIFEST, UPGRADE_FILELOGS] | |
@@ -1339,6 +1339,15 b' def upgraderepo(' | |||||
1339 | for a in actions: |
|
1339 | for a in actions: | |
1340 | ui.status(b'%s\n %s\n\n' % (a.name, a.upgrademessage)) |
|
1340 | ui.status(b'%s\n %s\n\n' % (a.name, a.upgrademessage)) | |
1341 |
|
1341 | |||
|
1342 | def print_affected_revlogs(): | |||
|
1343 | if not revlogs: | |||
|
1344 | ui.write((b'no revlogs to process\n')) | |||
|
1345 | else: | |||
|
1346 | ui.write((b'processed revlogs:\n')) | |||
|
1347 | for r in sorted(revlogs): | |||
|
1348 | ui.write((b' - %s\n' % r)) | |||
|
1349 | ui.write((b'\n')) | |||
|
1350 | ||||
1342 | if not run: |
|
1351 | if not run: | |
1343 | fromconfig = [] |
|
1352 | fromconfig = [] | |
1344 | onlydefault = [] |
|
1353 | onlydefault = [] | |
@@ -1390,6 +1399,7 b' def upgraderepo(' | |||||
1390 | printrequirements() |
|
1399 | printrequirements() | |
1391 | printoptimisations() |
|
1400 | printoptimisations() | |
1392 | printupgradeactions() |
|
1401 | printupgradeactions() | |
|
1402 | print_affected_revlogs() | |||
1393 |
|
1403 | |||
1394 | unusedoptimize = [i for i in alloptimizations if i not in actions] |
|
1404 | unusedoptimize = [i for i in alloptimizations if i not in actions] | |
1395 |
|
1405 | |||
@@ -1409,6 +1419,7 b' def upgraderepo(' | |||||
1409 | printrequirements() |
|
1419 | printrequirements() | |
1410 | printoptimisations() |
|
1420 | printoptimisations() | |
1411 | printupgradeactions() |
|
1421 | printupgradeactions() | |
|
1422 | print_affected_revlogs() | |||
1412 |
|
1423 | |||
1413 | upgradeactions = [a.name for a in actions] |
|
1424 | upgradeactions = [a.name for a in actions] | |
1414 |
|
1425 |
@@ -664,6 +664,11 b' We upgrade a repository that is not usin' | |||||
664 | preserved: * (glob) |
|
664 | preserved: * (glob) | |
665 | added: exp-copies-sidedata-changeset, exp-sidedata-flag |
|
665 | added: exp-copies-sidedata-changeset, exp-sidedata-flag | |
666 |
|
666 | |||
|
667 | processed revlogs: | |||
|
668 | - all-filelogs | |||
|
669 | - changelog | |||
|
670 | - manifest | |||
|
671 | ||||
667 | #endif |
|
672 | #endif | |
668 |
|
673 | |||
669 |
|
674 |
@@ -133,6 +133,11 b' non-lfs content, and the extension enabl' | |||||
133 | requirements |
|
133 | requirements | |
134 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
134 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
135 |
|
135 | |||
|
136 | processed revlogs: | |||
|
137 | - all-filelogs | |||
|
138 | - changelog | |||
|
139 | - manifest | |||
|
140 | ||||
136 |
|
141 | |||
137 | $ grep 'lfs' .hg/requires $SERVER_REQUIRES |
|
142 | $ grep 'lfs' .hg/requires $SERVER_REQUIRES | |
138 | [1] |
|
143 | [1] |
@@ -492,6 +492,11 b' downgrading' | |||||
492 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
492 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
493 | removed: persistent-nodemap |
|
493 | removed: persistent-nodemap | |
494 |
|
494 | |||
|
495 | processed revlogs: | |||
|
496 | - all-filelogs | |||
|
497 | - changelog | |||
|
498 | - manifest | |||
|
499 | ||||
495 | $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' |
|
500 | $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' | |
496 | [1] |
|
501 | [1] | |
497 | $ hg debugnodemap --metadata |
|
502 | $ hg debugnodemap --metadata | |
@@ -523,6 +528,11 b' upgrading' | |||||
523 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
528 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
524 | added: persistent-nodemap |
|
529 | added: persistent-nodemap | |
525 |
|
530 | |||
|
531 | processed revlogs: | |||
|
532 | - all-filelogs | |||
|
533 | - changelog | |||
|
534 | - manifest | |||
|
535 | ||||
526 | $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' |
|
536 | $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' | |
527 | 00changelog-*.nd (glob) |
|
537 | 00changelog-*.nd (glob) | |
528 | 00changelog.n |
|
538 | 00changelog.n | |
@@ -547,6 +557,11 b' Running unrelated upgrade' | |||||
547 |
|
557 | |||
548 | optimisations: re-delta-all |
|
558 | optimisations: re-delta-all | |
549 |
|
559 | |||
|
560 | processed revlogs: | |||
|
561 | - all-filelogs | |||
|
562 | - changelog | |||
|
563 | - manifest | |||
|
564 | ||||
550 | $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' |
|
565 | $ ls -1 .hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' | |
551 | 00changelog-*.nd (glob) |
|
566 | 00changelog-*.nd (glob) | |
552 | 00changelog.n |
|
567 | 00changelog.n |
@@ -215,6 +215,11 b' Disable zstd related tests because its n' | |||||
215 | preserved: dotencode, exp-sharesafe, fncache, generaldelta, revlogv1, sparserevlog, store |
|
215 | preserved: dotencode, exp-sharesafe, fncache, generaldelta, revlogv1, sparserevlog, store | |
216 | added: revlog-compression-zstd |
|
216 | added: revlog-compression-zstd | |
217 |
|
217 | |||
|
218 | processed revlogs: | |||
|
219 | - all-filelogs | |||
|
220 | - changelog | |||
|
221 | - manifest | |||
|
222 | ||||
218 | $ hg log -r . |
|
223 | $ hg log -r . | |
219 | changeset: 1:5f6d8a4bf34a |
|
224 | changeset: 1:5f6d8a4bf34a | |
220 | user: test |
|
225 | user: test | |
@@ -237,6 +242,11 b' Disable zstd related tests because its n' | |||||
237 | preserved: dotencode, exp-sharesafe, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store (zstd !) |
|
242 | preserved: dotencode, exp-sharesafe, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store (zstd !) | |
238 | added: persistent-nodemap |
|
243 | added: persistent-nodemap | |
239 |
|
244 | |||
|
245 | processed revlogs: | |||
|
246 | - all-filelogs | |||
|
247 | - changelog | |||
|
248 | - manifest | |||
|
249 | ||||
240 | $ hg log -r . |
|
250 | $ hg log -r . | |
241 | changeset: 1:5f6d8a4bf34a |
|
251 | changeset: 1:5f6d8a4bf34a | |
242 | user: test |
|
252 | user: test | |
@@ -335,6 +345,11 b' Upgrade' | |||||
335 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
345 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
336 | added: exp-sharesafe |
|
346 | added: exp-sharesafe | |
337 |
|
347 | |||
|
348 | processed revlogs: | |||
|
349 | - all-filelogs | |||
|
350 | - changelog | |||
|
351 | - manifest | |||
|
352 | ||||
338 | $ hg debugupgraderepo --run -q |
|
353 | $ hg debugupgraderepo --run -q | |
339 | upgrade will perform the following actions: |
|
354 | upgrade will perform the following actions: | |
340 |
|
355 | |||
@@ -342,6 +357,11 b' Upgrade' | |||||
342 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
357 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
343 | added: exp-sharesafe |
|
358 | added: exp-sharesafe | |
344 |
|
359 | |||
|
360 | processed revlogs: | |||
|
361 | - all-filelogs | |||
|
362 | - changelog | |||
|
363 | - manifest | |||
|
364 | ||||
345 | 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. |
|
365 | 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. | |
346 |
|
366 | |||
347 | $ hg debugrequirements |
|
367 | $ hg debugrequirements | |
@@ -408,6 +428,11 b' Test that downgrading works too' | |||||
408 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
428 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
409 | removed: exp-sharesafe |
|
429 | removed: exp-sharesafe | |
410 |
|
430 | |||
|
431 | processed revlogs: | |||
|
432 | - all-filelogs | |||
|
433 | - changelog | |||
|
434 | - manifest | |||
|
435 | ||||
411 | $ hg debugupgraderepo -q --run |
|
436 | $ hg debugupgraderepo -q --run | |
412 | upgrade will perform the following actions: |
|
437 | upgrade will perform the following actions: | |
413 |
|
438 | |||
@@ -415,6 +440,11 b' Test that downgrading works too' | |||||
415 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
440 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
416 | removed: exp-sharesafe |
|
441 | removed: exp-sharesafe | |
417 |
|
442 | |||
|
443 | processed revlogs: | |||
|
444 | - all-filelogs | |||
|
445 | - changelog | |||
|
446 | - manifest | |||
|
447 | ||||
418 | repository downgraded to not use share safe mode, existing shares will not work and needs to be reshared. |
|
448 | repository downgraded to not use share safe mode, existing shares will not work and needs to be reshared. | |
419 |
|
449 | |||
420 | $ hg debugrequirements |
|
450 | $ hg debugrequirements |
@@ -179,6 +179,11 b' An upgrade of a repository created with ' | |||||
179 | requirements |
|
179 | requirements | |
180 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
180 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
181 |
|
181 | |||
|
182 | processed revlogs: | |||
|
183 | - all-filelogs | |||
|
184 | - changelog | |||
|
185 | - manifest | |||
|
186 | ||||
182 | additional optimizations are available by specifying "--optimize <name>": |
|
187 | additional optimizations are available by specifying "--optimize <name>": | |
183 |
|
188 | |||
184 | re-delta-parent |
|
189 | re-delta-parent | |
@@ -198,6 +203,11 b' An upgrade of a repository created with ' | |||||
198 | requirements |
|
203 | requirements | |
199 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
204 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
200 |
|
205 | |||
|
206 | processed revlogs: | |||
|
207 | - all-filelogs | |||
|
208 | - changelog | |||
|
209 | - manifest | |||
|
210 | ||||
201 |
|
211 | |||
202 | --optimize can be used to add optimizations |
|
212 | --optimize can be used to add optimizations | |
203 |
|
213 | |||
@@ -213,6 +223,11 b' An upgrade of a repository created with ' | |||||
213 | re-delta-parent |
|
223 | re-delta-parent | |
214 | deltas within internal storage will choose a new base revision if needed |
|
224 | deltas within internal storage will choose a new base revision if needed | |
215 |
|
225 | |||
|
226 | processed revlogs: | |||
|
227 | - all-filelogs | |||
|
228 | - changelog | |||
|
229 | - manifest | |||
|
230 | ||||
216 | additional optimizations are available by specifying "--optimize <name>": |
|
231 | additional optimizations are available by specifying "--optimize <name>": | |
217 |
|
232 | |||
218 | re-delta-multibase |
|
233 | re-delta-multibase | |
@@ -239,6 +254,11 b' modern form of the option' | |||||
239 | re-delta-parent |
|
254 | re-delta-parent | |
240 | deltas within internal storage will choose a new base revision if needed |
|
255 | deltas within internal storage will choose a new base revision if needed | |
241 |
|
256 | |||
|
257 | processed revlogs: | |||
|
258 | - all-filelogs | |||
|
259 | - changelog | |||
|
260 | - manifest | |||
|
261 | ||||
242 | additional optimizations are available by specifying "--optimize <name>": |
|
262 | additional optimizations are available by specifying "--optimize <name>": | |
243 |
|
263 | |||
244 | re-delta-multibase |
|
264 | re-delta-multibase | |
@@ -256,6 +276,11 b' modern form of the option' | |||||
256 |
|
276 | |||
257 | optimisations: re-delta-parent |
|
277 | optimisations: re-delta-parent | |
258 |
|
278 | |||
|
279 | processed revlogs: | |||
|
280 | - all-filelogs | |||
|
281 | - changelog | |||
|
282 | - manifest | |||
|
283 | ||||
259 |
|
284 | |||
260 | unknown optimization: |
|
285 | unknown optimization: | |
261 |
|
286 | |||
@@ -357,6 +382,11 b' Various sub-optimal detections work' | |||||
357 | sparserevlog |
|
382 | sparserevlog | |
358 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. |
|
383 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. | |
359 |
|
384 | |||
|
385 | processed revlogs: | |||
|
386 | - all-filelogs | |||
|
387 | - changelog | |||
|
388 | - manifest | |||
|
389 | ||||
360 | additional optimizations are available by specifying "--optimize <name>": |
|
390 | additional optimizations are available by specifying "--optimize <name>": | |
361 |
|
391 | |||
362 | re-delta-parent |
|
392 | re-delta-parent | |
@@ -376,6 +406,11 b' Various sub-optimal detections work' | |||||
376 | preserved: revlogv1, store |
|
406 | preserved: revlogv1, store | |
377 | added: dotencode, fncache, generaldelta, sparserevlog |
|
407 | added: dotencode, fncache, generaldelta, sparserevlog | |
378 |
|
408 | |||
|
409 | processed revlogs: | |||
|
410 | - all-filelogs | |||
|
411 | - changelog | |||
|
412 | - manifest | |||
|
413 | ||||
379 |
|
414 | |||
380 | $ hg --config format.dotencode=false debugupgraderepo |
|
415 | $ hg --config format.dotencode=false debugupgraderepo | |
381 | repository lacks features recommended by current config options: |
|
416 | repository lacks features recommended by current config options: | |
@@ -410,6 +445,11 b' Various sub-optimal detections work' | |||||
410 | sparserevlog |
|
445 | sparserevlog | |
411 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. |
|
446 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. | |
412 |
|
447 | |||
|
448 | processed revlogs: | |||
|
449 | - all-filelogs | |||
|
450 | - changelog | |||
|
451 | - manifest | |||
|
452 | ||||
413 | additional optimizations are available by specifying "--optimize <name>": |
|
453 | additional optimizations are available by specifying "--optimize <name>": | |
414 |
|
454 | |||
415 | re-delta-parent |
|
455 | re-delta-parent | |
@@ -436,6 +476,11 b' Upgrading a repository that is already m' | |||||
436 | requirements |
|
476 | requirements | |
437 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
477 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
438 |
|
478 | |||
|
479 | processed revlogs: | |||
|
480 | - all-filelogs | |||
|
481 | - changelog | |||
|
482 | - manifest | |||
|
483 | ||||
439 | beginning upgrade... |
|
484 | beginning upgrade... | |
440 | repository locked and read-only |
|
485 | repository locked and read-only | |
441 | creating temporary repository to stage migrated data: $TESTTMP/modern/.hg/upgrade.* (glob) |
|
486 | creating temporary repository to stage migrated data: $TESTTMP/modern/.hg/upgrade.* (glob) | |
@@ -487,6 +532,11 b' make sure we have a .d file' | |||||
487 | generaldelta |
|
532 | generaldelta | |
488 | repository storage will be able to create optimal deltas; new repository data will be smaller and read times should decrease; interacting with other repositories using this storage model should require less network and CPU resources, making "hg push" and "hg pull" faster |
|
533 | repository storage will be able to create optimal deltas; new repository data will be smaller and read times should decrease; interacting with other repositories using this storage model should require less network and CPU resources, making "hg push" and "hg pull" faster | |
489 |
|
534 | |||
|
535 | processed revlogs: | |||
|
536 | - all-filelogs | |||
|
537 | - changelog | |||
|
538 | - manifest | |||
|
539 | ||||
490 | beginning upgrade... |
|
540 | beginning upgrade... | |
491 | repository locked and read-only |
|
541 | repository locked and read-only | |
492 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
542 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
@@ -583,6 +633,11 b' unless --no-backup is passed' | |||||
583 | sparserevlog |
|
633 | sparserevlog | |
584 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. |
|
634 | Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server. | |
585 |
|
635 | |||
|
636 | processed revlogs: | |||
|
637 | - all-filelogs | |||
|
638 | - changelog | |||
|
639 | - manifest | |||
|
640 | ||||
586 | beginning upgrade... |
|
641 | beginning upgrade... | |
587 | repository locked and read-only |
|
642 | repository locked and read-only | |
588 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
643 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
@@ -622,6 +677,9 b' We can restrict optimization to some rev' | |||||
622 | re-delta-parent |
|
677 | re-delta-parent | |
623 | deltas within internal storage will choose a new base revision if needed |
|
678 | deltas within internal storage will choose a new base revision if needed | |
624 |
|
679 | |||
|
680 | processed revlogs: | |||
|
681 | - manifest | |||
|
682 | ||||
625 | beginning upgrade... |
|
683 | beginning upgrade... | |
626 | repository locked and read-only |
|
684 | repository locked and read-only | |
627 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
685 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
@@ -698,6 +756,10 b' Check we can select negatively' | |||||
698 | re-delta-parent |
|
756 | re-delta-parent | |
699 | deltas within internal storage will choose a new base revision if needed |
|
757 | deltas within internal storage will choose a new base revision if needed | |
700 |
|
758 | |||
|
759 | processed revlogs: | |||
|
760 | - all-filelogs | |||
|
761 | - changelog | |||
|
762 | ||||
701 | beginning upgrade... |
|
763 | beginning upgrade... | |
702 | repository locked and read-only |
|
764 | repository locked and read-only | |
703 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
765 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
@@ -746,6 +808,9 b' Check that we can select changelog only' | |||||
746 | re-delta-parent |
|
808 | re-delta-parent | |
747 | deltas within internal storage will choose a new base revision if needed |
|
809 | deltas within internal storage will choose a new base revision if needed | |
748 |
|
810 | |||
|
811 | processed revlogs: | |||
|
812 | - changelog | |||
|
813 | ||||
749 | beginning upgrade... |
|
814 | beginning upgrade... | |
750 | repository locked and read-only |
|
815 | repository locked and read-only | |
751 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
816 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
@@ -794,6 +859,9 b' Check that we can select filelog only' | |||||
794 | re-delta-parent |
|
859 | re-delta-parent | |
795 | deltas within internal storage will choose a new base revision if needed |
|
860 | deltas within internal storage will choose a new base revision if needed | |
796 |
|
861 | |||
|
862 | processed revlogs: | |||
|
863 | - all-filelogs | |||
|
864 | ||||
797 | beginning upgrade... |
|
865 | beginning upgrade... | |
798 | repository locked and read-only |
|
866 | repository locked and read-only | |
799 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
867 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
@@ -847,6 +915,11 b" Check you can't skip revlog clone during" | |||||
847 | re-delta-parent |
|
915 | re-delta-parent | |
848 | deltas within internal storage will choose a new base revision if needed |
|
916 | deltas within internal storage will choose a new base revision if needed | |
849 |
|
917 | |||
|
918 | processed revlogs: | |||
|
919 | - all-filelogs | |||
|
920 | - changelog | |||
|
921 | - manifest | |||
|
922 | ||||
850 | beginning upgrade... |
|
923 | beginning upgrade... | |
851 | repository locked and read-only |
|
924 | repository locked and read-only | |
852 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
925 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
@@ -901,6 +974,11 b" Check you can't skip revlog clone during" | |||||
901 | re-delta-parent |
|
974 | re-delta-parent | |
902 | deltas within internal storage will choose a new base revision if needed |
|
975 | deltas within internal storage will choose a new base revision if needed | |
903 |
|
976 | |||
|
977 | processed revlogs: | |||
|
978 | - all-filelogs | |||
|
979 | - changelog | |||
|
980 | - manifest | |||
|
981 | ||||
904 | beginning upgrade... |
|
982 | beginning upgrade... | |
905 | repository locked and read-only |
|
983 | repository locked and read-only | |
906 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) |
|
984 | creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob) | |
@@ -952,6 +1030,11 b" store files with special filenames aren'" | |||||
952 | requirements |
|
1030 | requirements | |
953 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
1031 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
954 |
|
1032 | |||
|
1033 | processed revlogs: | |||
|
1034 | - all-filelogs | |||
|
1035 | - changelog | |||
|
1036 | - manifest | |||
|
1037 | ||||
955 | beginning upgrade... |
|
1038 | beginning upgrade... | |
956 | repository locked and read-only |
|
1039 | repository locked and read-only | |
957 | creating temporary repository to stage migrated data: $TESTTMP/store-filenames/.hg/upgrade.* (glob) |
|
1040 | creating temporary repository to stage migrated data: $TESTTMP/store-filenames/.hg/upgrade.* (glob) | |
@@ -988,6 +1071,11 b" store files with special filenames aren'" | |||||
988 | re-delta-fulladd |
|
1071 | re-delta-fulladd | |
989 | 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 |
|
1072 | 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 | |
990 |
|
1073 | |||
|
1074 | processed revlogs: | |||
|
1075 | - all-filelogs | |||
|
1076 | - changelog | |||
|
1077 | - manifest | |||
|
1078 | ||||
991 | beginning upgrade... |
|
1079 | beginning upgrade... | |
992 | repository locked and read-only |
|
1080 | repository locked and read-only | |
993 | creating temporary repository to stage migrated data: $TESTTMP/store-filenames/.hg/upgrade.* (glob) |
|
1081 | creating temporary repository to stage migrated data: $TESTTMP/store-filenames/.hg/upgrade.* (glob) | |
@@ -1049,6 +1137,11 b' Check upgrading a large file repository' | |||||
1049 | requirements |
|
1137 | requirements | |
1050 | preserved: dotencode, fncache, generaldelta, largefiles, revlogv1, sparserevlog, store |
|
1138 | preserved: dotencode, fncache, generaldelta, largefiles, revlogv1, sparserevlog, store | |
1051 |
|
1139 | |||
|
1140 | processed revlogs: | |||
|
1141 | - all-filelogs | |||
|
1142 | - changelog | |||
|
1143 | - manifest | |||
|
1144 | ||||
1052 | beginning upgrade... |
|
1145 | beginning upgrade... | |
1053 | repository locked and read-only |
|
1146 | repository locked and read-only | |
1054 | creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob) |
|
1147 | creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob) | |
@@ -1102,6 +1195,11 b' Check upgrading a large file repository' | |||||
1102 | requirements |
|
1195 | requirements | |
1103 | preserved: dotencode, fncache, generaldelta, largefiles, lfs, revlogv1, sparserevlog, store |
|
1196 | preserved: dotencode, fncache, generaldelta, largefiles, lfs, revlogv1, sparserevlog, store | |
1104 |
|
1197 | |||
|
1198 | processed revlogs: | |||
|
1199 | - all-filelogs | |||
|
1200 | - changelog | |||
|
1201 | - manifest | |||
|
1202 | ||||
1105 | beginning upgrade... |
|
1203 | beginning upgrade... | |
1106 | repository locked and read-only |
|
1204 | repository locked and read-only | |
1107 | creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob) |
|
1205 | creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob) | |
@@ -1202,6 +1300,11 b' repository config is taken in account' | |||||
1202 | re-delta-all |
|
1300 | re-delta-all | |
1203 | deltas within internal storage will be fully recomputed; this will likely drastically slow down execution time |
|
1301 | deltas within internal storage will be fully recomputed; this will likely drastically slow down execution time | |
1204 |
|
1302 | |||
|
1303 | processed revlogs: | |||
|
1304 | - all-filelogs | |||
|
1305 | - changelog | |||
|
1306 | - manifest | |||
|
1307 | ||||
1205 | beginning upgrade... |
|
1308 | beginning upgrade... | |
1206 | repository locked and read-only |
|
1309 | repository locked and read-only | |
1207 | creating temporary repository to stage migrated data: $TESTTMP/localconfig/.hg/upgrade.* (glob) |
|
1310 | creating temporary repository to stage migrated data: $TESTTMP/localconfig/.hg/upgrade.* (glob) | |
@@ -1261,6 +1364,11 b' Check that we can add the sparse-revlog ' | |||||
1261 | preserved: dotencode, fncache, generaldelta, revlogv1, store |
|
1364 | preserved: dotencode, fncache, generaldelta, revlogv1, store | |
1262 | added: sparserevlog |
|
1365 | added: sparserevlog | |
1263 |
|
1366 | |||
|
1367 | processed revlogs: | |||
|
1368 | - all-filelogs | |||
|
1369 | - changelog | |||
|
1370 | - manifest | |||
|
1371 | ||||
1264 | $ cat .hg/requires |
|
1372 | $ cat .hg/requires | |
1265 | dotencode |
|
1373 | dotencode | |
1266 | fncache |
|
1374 | fncache | |
@@ -1277,6 +1385,11 b' Check that we can remove the sparse-revl' | |||||
1277 | preserved: dotencode, fncache, generaldelta, revlogv1, store |
|
1385 | preserved: dotencode, fncache, generaldelta, revlogv1, store | |
1278 | removed: sparserevlog |
|
1386 | removed: sparserevlog | |
1279 |
|
1387 | |||
|
1388 | processed revlogs: | |||
|
1389 | - all-filelogs | |||
|
1390 | - changelog | |||
|
1391 | - manifest | |||
|
1392 | ||||
1280 | $ cat .hg/requires |
|
1393 | $ cat .hg/requires | |
1281 | dotencode |
|
1394 | dotencode | |
1282 | fncache |
|
1395 | fncache | |
@@ -1298,6 +1411,11 b' upgrade' | |||||
1298 | preserved: dotencode, fncache, generaldelta, revlogv1, store |
|
1411 | preserved: dotencode, fncache, generaldelta, revlogv1, store | |
1299 | added: revlog-compression-zstd, sparserevlog |
|
1412 | added: revlog-compression-zstd, sparserevlog | |
1300 |
|
1413 | |||
|
1414 | processed revlogs: | |||
|
1415 | - all-filelogs | |||
|
1416 | - changelog | |||
|
1417 | - manifest | |||
|
1418 | ||||
1301 | $ hg debugformat -v |
|
1419 | $ hg debugformat -v | |
1302 | format-variant repo config default |
|
1420 | format-variant repo config default | |
1303 | fncache: yes yes yes |
|
1421 | fncache: yes yes yes | |
@@ -1329,6 +1447,11 b' downgrade' | |||||
1329 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
1447 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
1330 | removed: revlog-compression-zstd |
|
1448 | removed: revlog-compression-zstd | |
1331 |
|
1449 | |||
|
1450 | processed revlogs: | |||
|
1451 | - all-filelogs | |||
|
1452 | - changelog | |||
|
1453 | - manifest | |||
|
1454 | ||||
1332 | $ hg debugformat -v |
|
1455 | $ hg debugformat -v | |
1333 | format-variant repo config default |
|
1456 | format-variant repo config default | |
1334 | fncache: yes yes yes |
|
1457 | fncache: yes yes yes | |
@@ -1363,6 +1486,11 b' upgrade from hgrc' | |||||
1363 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store |
|
1486 | preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store | |
1364 | added: revlog-compression-zstd |
|
1487 | added: revlog-compression-zstd | |
1365 |
|
1488 | |||
|
1489 | processed revlogs: | |||
|
1490 | - all-filelogs | |||
|
1491 | - changelog | |||
|
1492 | - manifest | |||
|
1493 | ||||
1366 | $ hg debugformat -v |
|
1494 | $ hg debugformat -v | |
1367 | format-variant repo config default |
|
1495 | format-variant repo config default | |
1368 | fncache: yes yes yes |
|
1496 | fncache: yes yes yes | |
@@ -1401,6 +1529,11 b' upgrade' | |||||
1401 | added: exp-sidedata-flag (zstd !) |
|
1529 | added: exp-sidedata-flag (zstd !) | |
1402 | added: exp-sidedata-flag, sparserevlog (no-zstd !) |
|
1530 | added: exp-sidedata-flag, sparserevlog (no-zstd !) | |
1403 |
|
1531 | |||
|
1532 | processed revlogs: | |||
|
1533 | - all-filelogs | |||
|
1534 | - changelog | |||
|
1535 | - manifest | |||
|
1536 | ||||
1404 | $ hg debugformat -v |
|
1537 | $ hg debugformat -v | |
1405 | format-variant repo config default |
|
1538 | format-variant repo config default | |
1406 | fncache: yes yes yes |
|
1539 | fncache: yes yes yes | |
@@ -1439,6 +1572,11 b' downgrade' | |||||
1439 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store (zstd !) |
|
1572 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store (zstd !) | |
1440 | removed: exp-sidedata-flag |
|
1573 | removed: exp-sidedata-flag | |
1441 |
|
1574 | |||
|
1575 | processed revlogs: | |||
|
1576 | - all-filelogs | |||
|
1577 | - changelog | |||
|
1578 | - manifest | |||
|
1579 | ||||
1442 | $ hg debugformat -v |
|
1580 | $ hg debugformat -v | |
1443 | format-variant repo config default |
|
1581 | format-variant repo config default | |
1444 | fncache: yes yes yes |
|
1582 | fncache: yes yes yes | |
@@ -1477,6 +1615,11 b' upgrade from hgrc' | |||||
1477 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store (zstd !) |
|
1615 | preserved: dotencode, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store (zstd !) | |
1478 | added: exp-sidedata-flag |
|
1616 | added: exp-sidedata-flag | |
1479 |
|
1617 | |||
|
1618 | processed revlogs: | |||
|
1619 | - all-filelogs | |||
|
1620 | - changelog | |||
|
1621 | - manifest | |||
|
1622 | ||||
1480 | $ hg debugformat -v |
|
1623 | $ hg debugformat -v | |
1481 | format-variant repo config default |
|
1624 | format-variant repo config default | |
1482 | fncache: yes yes yes |
|
1625 | fncache: yes yes yes |
General Comments 0
You need to be logged in to leave comments.
Login now