##// END OF EJS Templates
tests: fix the detection of dirstate-v2 in hghave.py
Arseniy Alekseyev -
r50515:8cd39c20 stable
parent child Browse files
Show More
@@ -1077,8 +1077,8 b' def has_repofncache():'
1077 @check('dirstate-v2', 'using the v2 format of .hg/dirstate')
1077 @check('dirstate-v2', 'using the v2 format of .hg/dirstate')
1078 def has_dirstate_v2():
1078 def has_dirstate_v2():
1079 # Keep this logic in sync with `newreporequirements()` in `mercurial/localrepo.py`
1079 # Keep this logic in sync with `newreporequirements()` in `mercurial/localrepo.py`
1080 return has_rust() and matchoutput(
1080 return matchoutput(
1081 'hg config format.exp-rc-dirstate-v2', b'(?i)1|yes|true|on|always'
1081 'hg config format.use-dirstate-v2', b'(?i)1|yes|true|on|always'
1082 )
1082 )
1083
1083
1084
1084
General Comments 0
You need to be logged in to leave comments. Login now