Mercurial > public > mercurial-scm > hg-stable
diff mercurial/upgrade.py @ 43031:e16ca9fde7aa
upgrade: detect the side-data format variants
Note that for now we cannot upgrade/downgrade to it.
Differential Revision: https://phab.mercurial-scm.org/D6887
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 04 Sep 2019 02:43:17 +0200 |
parents | 373749982924 |
children | 2372284d9457 |
line wrap: on
line diff
--- a/mercurial/upgrade.py Mon Sep 09 22:42:55 2019 +0200 +++ b/mercurial/upgrade.py Wed Sep 04 02:43:17 2019 +0200 @@ -317,6 +317,19 @@ 'better compression and faster exchange with server.') @registerformatvariant +class sidedata(requirementformatvariant): + name = 'sidedata' + + _requirement = localrepo.SIDEDATA_REQUIREMENT + + default = False + + description = _('Allows storage of extra data alongside a revision, ' + 'unlocking various caching options.') + + upgrademessage = _('Allows storage of extra data alongside a revision.') + +@registerformatvariant class removecldeltachain(formatvariant): name = 'plain-cl-delta'