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
--- 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):