comparison mercurial/upgrade_utils/actions.py @ 46377:60ea95471b83

upgrade: mark sharesafe improvement as only touching requirements Upgrading the repository to use share safe functionality only touches requirements. Differential Revision: https://phab.mercurial-scm.org/D9772
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 14 Jan 2021 16:57:11 +0530
parents a83e1496d943
children ee91966aec0f
comparison
equal deleted inserted replaced
46376:a83e1496d943 46377:60ea95471b83
288 b'repository upgraded to share safe mode, existing' 288 b'repository upgraded to share safe mode, existing'
289 b' shares will still work in old non-safe mode. ' 289 b' shares will still work in old non-safe mode. '
290 b'Re-share existing shares to use them in safe mode' 290 b'Re-share existing shares to use them in safe mode'
291 b' New shares will be created in safe mode.' 291 b' New shares will be created in safe mode.'
292 ) 292 )
293
294 # upgrade only needs to change the requirements
295 touches_filelogs = False
296 touches_manifests = False
297 touches_changelog = False
298 touches_requirements = True
293 299
294 300
295 @registerformatvariant 301 @registerformatvariant
296 class sparserevlog(requirementformatvariant): 302 class sparserevlog(requirementformatvariant):
297 name = b'sparserevlog' 303 name = b'sparserevlog'