Patchwork D11744: hghave: update dirstate-v2 format config option

login
register
mail settings
Submitter phabricator
Date Nov. 10, 2021, 10:46 a.m.
Message ID <differential-rev-PHID-DREV-ocedn37zlqfnozyd5voy-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50070/
State Superseded
Headers show

Comments

phabricator - Nov. 10, 2021, 10:46 a.m.
Alphare created this revision.
Alphare added a comment.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.


  Pending CI refresh

REVISION SUMMARY
  It wasn't kept in sync with the new change in format name.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

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

AFFECTED FILES
  tests/hghave.py

CHANGE DETAILS




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

Patch

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -1061,7 +1061,7 @@ 
 def has_dirstate_v2():
     # Keep this logic in sync with `newreporequirements()` in `mercurial/localrepo.py`
     return has_rust() and matchoutput(
-        'hg config format.exp-dirstate-v2', b'(?i)1|yes|true|on|always'
+        'hg config format.exp-rc-dirstate-v2', b'(?i)1|yes|true|on|always'
     )