Show More
@@ -683,7 +683,11 b' def determine_upgrade_actions(' | |||
|
683 | 683 | |
|
684 | 684 | newactions.append(d) |
|
685 | 685 | |
|
686 | newactions.extend(o for o in sorted(optimizations) if o not in newactions) | |
|
686 | newactions.extend( | |
|
687 | o | |
|
688 | for o in sorted(optimizations, key=(lambda x: x.name)) | |
|
689 | if o not in newactions | |
|
690 | ) | |
|
687 | 691 | |
|
688 | 692 | # FUTURE consider adding some optimizations here for certain transitions. |
|
689 | 693 | # e.g. adding generaldelta could schedule parent redeltas. |
@@ -467,6 +467,7 b' modern form of the option' | |||
|
467 | 467 | re-delta-fulladd |
|
468 | 468 | every revision will be re-added as if it was new content. It will go through the full storage mechanism giving extensions a chance to process it (eg. lfs). This is similar to "re-delta-all" but even slower since more logic is involved. |
|
469 | 469 | |
|
470 | ||
|
470 | 471 | $ hg debugupgrade --optimize re-delta-parent --quiet |
|
471 | 472 | requirements |
|
472 | 473 | preserved: dotencode, fncache, generaldelta, revlogv1, share-safe, sparserevlog, store (no-rust !) |
@@ -480,6 +481,20 b' modern form of the option' | |||
|
480 | 481 | - manifest |
|
481 | 482 | |
|
482 | 483 | |
|
484 | passing multiple optimization: | |
|
485 | ||
|
486 | $ hg debugupgrade --optimize re-delta-parent --optimize re-delta-multibase --quiet | |
|
487 | requirements | |
|
488 | preserved: * (glob) | |
|
489 | ||
|
490 | optimisations: re-delta-multibase, re-delta-parent | |
|
491 | ||
|
492 | processed revlogs: | |
|
493 | - all-filelogs | |
|
494 | - changelog | |
|
495 | - manifest | |
|
496 | ||
|
497 | ||
|
483 | 498 | unknown optimization: |
|
484 | 499 | |
|
485 | 500 | $ hg debugupgrade --optimize foobar |
General Comments 0
You need to be logged in to leave comments.
Login now