equal
deleted
inserted
replaced
43 |
43 |
44 FORMAT_VARIANT = b'deficiency' |
44 FORMAT_VARIANT = b'deficiency' |
45 OPTIMISATION = b'optimization' |
45 OPTIMISATION = b'optimization' |
46 |
46 |
47 |
47 |
48 class improvement(object): |
48 class improvement: |
49 """Represents an improvement that can be made as part of an upgrade.""" |
49 """Represents an improvement that can be made as part of an upgrade.""" |
50 |
50 |
51 ### The following attributes should be defined for each subclass: |
51 ### The following attributes should be defined for each subclass: |
52 |
52 |
53 # Either ``FORMAT_VARIANT`` or ``OPTIMISATION``. |
53 # Either ``FORMAT_VARIANT`` or ``OPTIMISATION``. |
682 # e.g. adding generaldelta could schedule parent redeltas. |
682 # e.g. adding generaldelta could schedule parent redeltas. |
683 |
683 |
684 return newactions |
684 return newactions |
685 |
685 |
686 |
686 |
687 class UpgradeOperation(object): |
687 class UpgradeOperation: |
688 """represent the work to be done during an upgrade""" |
688 """represent the work to be done during an upgrade""" |
689 |
689 |
690 def __init__( |
690 def __init__( |
691 self, |
691 self, |
692 ui, |
692 ui, |