[PATCH 1 of 6] upgrade: rename 'removecldeltachain' to 'plain-cl-delta'

Boris Feld boris.feld at octobus.net
Fri Dec 8 10:58:00 UTC 2017


# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1512658559 -3600
#      Thu Dec 07 15:55:59 2017 +0100
# Node ID 88ae8b7114e294c3bc641611324f1a7b023a1f5e
# Parent  483b5dd0f1aa412e9611ab694279c9d3735fee99
# EXP-Topic upgrade
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 88ae8b7114e2
upgrade: rename 'removecldeltachain' to 'plain-cl-delta'

The new naming is more descriptive of a "state" while the older one was more
about "action". I'm looking into command exposing more of data about the state
of the repository so "state" oriented work better there.

The key has not been made public anywhere outside the debug area so it is fine
to update it.

diff --git a/mercurial/upgrade.py b/mercurial/upgrade.py
--- a/mercurial/upgrade.py
+++ b/mercurial/upgrade.py
@@ -259,7 +259,7 @@ class generaldelta(requirementformatvari
 
 @registerformatvariant
 class removecldeltachain(formatvariant):
-    name = 'removecldeltachain'
+    name = 'plain-cl-delta'
 
     default = True
 


More information about the Mercurial-devel mailing list