Patchwork D12034: requirements: sort _basesupported

login
register
mail settings
Submitter phabricator
Date Jan. 24, 2022, 11:36 a.m.
Message ID <differential-rev-PHID-DREV-qlmloayiouziejqiz4ux-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50359/
State New
Headers show

Comments

phabricator - Jan. 24, 2022, 11:36 a.m.
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




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

Patch

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'