equal
deleted
inserted
replaced
1075 |
1075 |
1076 |
1076 |
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 |
1085 @check('sqlite', 'sqlite3 module and matching cli is available') |
1085 @check('sqlite', 'sqlite3 module and matching cli is available') |
1086 def has_sqlite(): |
1086 def has_sqlite(): |