changeset 48318:6505d3902eac stable

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
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 10 Nov 2021 10:50:54 +0100
parents 6e576e4665f4
children 5d69a0a23f5b
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'
     )