# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2021-01-14 11:27:11 # Node ID 60ea95471b83ea0551400c87849c106681598d27 # Parent a83e1496d943ecaedfcb1614399eb47292ee4803 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 diff --git a/mercurial/upgrade_utils/actions.py b/mercurial/upgrade_utils/actions.py --- a/mercurial/upgrade_utils/actions.py +++ b/mercurial/upgrade_utils/actions.py @@ -291,6 +291,12 @@ class sharesafe(requirementformatvariant 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):