changeset 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 8b02f132adf6
files mercurial/upgrade_utils/actions.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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):