mercurial/localrepo.py
changeset 47221 5eb5b866e517
parent 47085 3aab2330b7d3
child 47226 19d4802cb304
equal deleted inserted replaced
47220:4039cad0d8ff 47221:5eb5b866e517
  3529         requirements.add(requirementsmod.TREEMANIFEST_REQUIREMENT)
  3529         requirements.add(requirementsmod.TREEMANIFEST_REQUIREMENT)
  3530 
  3530 
  3531     revlogv2 = ui.config(b'experimental', b'revlogv2')
  3531     revlogv2 = ui.config(b'experimental', b'revlogv2')
  3532     if revlogv2 == b'enable-unstable-format-and-corrupt-my-data':
  3532     if revlogv2 == b'enable-unstable-format-and-corrupt-my-data':
  3533         requirements.discard(requirementsmod.REVLOGV1_REQUIREMENT)
  3533         requirements.discard(requirementsmod.REVLOGV1_REQUIREMENT)
  3534         # generaldelta is implied by revlogv2.
       
  3535         requirements.discard(requirementsmod.GENERALDELTA_REQUIREMENT)
       
  3536         requirements.add(requirementsmod.REVLOGV2_REQUIREMENT)
  3534         requirements.add(requirementsmod.REVLOGV2_REQUIREMENT)
  3537     # experimental config: format.internal-phase
  3535     # experimental config: format.internal-phase
  3538     if ui.configbool(b'format', b'internal-phase'):
  3536     if ui.configbool(b'format', b'internal-phase'):
  3539         requirements.add(requirementsmod.INTERNAL_PHASE_REQUIREMENT)
  3537         requirements.add(requirementsmod.INTERNAL_PHASE_REQUIREMENT)
  3540 
  3538