Changeset View
Changeset View
Standalone View
Standalone View
mercurial/upgrade_utils/actions.py
Show First 20 Lines • Show All 285 Lines • ▼ Show 20 Line(s) | class sharesafe(requirementformatvariant): | ||||
postupgrademessage = _( | postupgrademessage = _( | ||||
b'repository upgraded to share safe mode, existing' | b'repository upgraded to share safe mode, existing' | ||||
b' shares will still work in old non-safe mode. ' | b' shares will still work in old non-safe mode. ' | ||||
b'Re-share existing shares to use them in safe mode' | b'Re-share existing shares to use them in safe mode' | ||||
b' New shares will be created in safe mode.' | b' New shares will be created in safe mode.' | ||||
) | ) | ||||
# upgrade only needs to change the requirements | |||||
touches_filelogs = False | |||||
touches_manifests = False | |||||
touches_changelog = False | |||||
touches_requirements = True | |||||
@registerformatvariant | @registerformatvariant | ||||
class sparserevlog(requirementformatvariant): | class sparserevlog(requirementformatvariant): | ||||
name = b'sparserevlog' | name = b'sparserevlog' | ||||
_requirement = requirements.SPARSEREVLOG_REQUIREMENT | _requirement = requirements.SPARSEREVLOG_REQUIREMENT | ||||
default = True | default = True | ||||
▲ Show 20 Lines • Show All 704 Lines • Show Last 20 Lines |