mercurial/upgrade.py
changeset 45371 e58e234096de
parent 45106 a03c177a4679
child 45372 77b8588dd84e
equal deleted inserted replaced
45370:15d35f2ba474 45371:e58e234096de
    24     scmutil,
    24     scmutil,
    25     util,
    25     util,
    26     vfs as vfsmod,
    26     vfs as vfsmod,
    27 )
    27 )
    28 
    28 
       
    29 from .interfaces import repository
    29 from .utils import compression
    30 from .utils import compression
    30 
    31 
    31 # list of requirements that request a clone of all revlog if added/removed
    32 # list of requirements that request a clone of all revlog if added/removed
    32 RECLONES_REQUIREMENTS = {
    33 RECLONES_REQUIREMENTS = {
    33     b'generaldelta',
    34     b'generaldelta',
    56     requirements in the returned set.
    57     requirements in the returned set.
    57     """
    58     """
    58     return {
    59     return {
    59         # The upgrade code does not yet support these experimental features.
    60         # The upgrade code does not yet support these experimental features.
    60         # This is an artificial limitation.
    61         # This is an artificial limitation.
    61         b'treemanifest',
    62         repository.TREEMANIFEST_REQUIREMENT,
    62         # This was a precursor to generaldelta and was never enabled by default.
    63         # This was a precursor to generaldelta and was never enabled by default.
    63         # It should (hopefully) not exist in the wild.
    64         # It should (hopefully) not exist in the wild.
    64         b'parentdelta',
    65         b'parentdelta',
    65         # Upgrade should operate on the actual store, not the shared link.
    66         # Upgrade should operate on the actual store, not the shared link.
    66         b'shared',
    67         b'shared',