diff -r a83e1496d943 -r 60ea95471b83 mercurial/upgrade_utils/actions.py --- a/mercurial/upgrade_utils/actions.py Mon Dec 14 16:20:00 2020 +0530 +++ b/mercurial/upgrade_utils/actions.py Thu Jan 14 16:57:11 2021 +0530 @@ -291,6 +291,12 @@ 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 class sparserevlog(requirementformatvariant):