D12034: requirements: sort _basesupported

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Mon Jan 24 11:36:58 UTC 2022


marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This will make the next changeset clearer.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12034

AFFECTED FILES
  mercurial/localrepo.py

CHANGE DETAILS

diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -1288,13 +1288,13 @@
         requirementsmod.DIRSTATE_V2_REQUIREMENT,
     }
     _basesupported = supportedformats | {
-        requirementsmod.STORE_REQUIREMENT,
+        requirementsmod.DOTENCODE_REQUIREMENT,
         requirementsmod.FNCACHE_REQUIREMENT,
-        requirementsmod.SHARED_REQUIREMENT,
+        requirementsmod.INTERNAL_PHASE_REQUIREMENT,
         requirementsmod.RELATIVE_SHARED_REQUIREMENT,
-        requirementsmod.DOTENCODE_REQUIREMENT,
+        requirementsmod.SHARED_REQUIREMENT,
         requirementsmod.SPARSE_REQUIREMENT,
-        requirementsmod.INTERNAL_PHASE_REQUIREMENT,
+        requirementsmod.STORE_REQUIREMENT,
     }
 
     # list of prefix for file which can be written without 'wlock'



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel


More information about the Mercurial-devel mailing list