hghave: update dirstate-v2 format config option stable
authorRaphaël Gomès <rgomes@octobus.net>
Wed, 10 Nov 2021 10:50:54 +0100
branchstable
changeset 48319 6505d3902eac
parent 48317 6e576e4665f4
child 48320 5d69a0a23f5b
hghave: update dirstate-v2 format config option It wasn't kept in sync with the new change in format name. Differential Revision: https://phab.mercurial-scm.org/D11744
tests/hghave.py
--- a/tests/hghave.py	Tue Nov 09 22:06:40 2021 +0530
+++ b/tests/hghave.py	Wed Nov 10 10:50:54 2021 +0100
@@ -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'
     )