mercurial/localrepo.py
changeset 47279 40b51c28b242
parent 47277 ed0d54b20c5b
child 47280 1766130fe9ba
--- a/mercurial/localrepo.py	Wed May 19 13:14:59 2021 +0200
+++ b/mercurial/localrepo.py	Wed May 19 13:15:00 2021 +0200
@@ -3531,6 +3531,7 @@
             requirements.add(requirementsmod.SPARSEREVLOG_REQUIREMENT)
 
     # experimental config: format.exp-dirstate-v2
+    # Keep this logic in sync with `has_dirstate_v2()` in `tests/hghave.py`
     if ui.configbool(b'format', b'exp-dirstate-v2'):
         if dirstate.SUPPORTS_DIRSTATE_V2:
             requirements.add(requirementsmod.DIRSTATE_V2_REQUIREMENT)