mercurial/upgrade_utils/actions.py
changeset 46636 c3773636ddbb
parent 46627 f4c325bf80fc
child 46637 ab58098bebed
--- a/mercurial/upgrade_utils/actions.py	Tue Mar 02 18:51:18 2021 +0100
+++ b/mercurial/upgrade_utils/actions.py	Wed Mar 03 12:33:24 2021 +0100
@@ -217,7 +217,7 @@
 class dotencode(requirementformatvariant):
     name = b'dotencode'
 
-    _requirement = b'dotencode'
+    _requirement = requirements.DOTENCODE_REQUIREMENT
 
     default = True
 
@@ -934,7 +934,7 @@
     Extensions should monkeypatch this to add their custom requirements.
     """
     supported = {
-        b'dotencode',
+        requirements.DOTENCODE_REQUIREMENT,
         b'fncache',
         requirements.GENERALDELTA_REQUIREMENT,
         requirements.REVLOGV1_REQUIREMENT,
@@ -965,7 +965,7 @@
     future, unknown requirements from accidentally being added.
     """
     supported = {
-        b'dotencode',
+        requirements.DOTENCODE_REQUIREMENT,
         b'fncache',
         requirements.GENERALDELTA_REQUIREMENT,
         requirements.SPARSEREVLOG_REQUIREMENT,