261d37b94d31 — Boris Feld 5 years ago
sparserevlog: document the config option

This was overlooked when this graduated from experimental.
3 files changed, 12 insertions(+), 1 deletions(-)

M mercurial/help/config.txt
M mercurial/localrepo.py
M tests/test-help.t
M mercurial/help/config.txt +10 -0
@@ 857,6 857,16 @@ https://www.mercurial-scm.org/wiki/Missi
 
     Enabled by default.
 
+``sparse-revlog``
+    Enable or disable the ``sparse-revlog`` delta strategy. This format improves
+    delta re-use inside revlog. For very branchy repositories, it results in a
+    smaller store. For repositories with many revisions, it also helps
+    performance (by using shortened delta chains.)
+
+    Repositories with this on-disk format require Mercurial version 4.7
+
+    Enabled by default.
+
 ``graph``
 ---------
 

          
M mercurial/localrepo.py +0 -1
@@ 2920,7 2920,6 @@ def newreporequirements(ui, createopts):
 
     if scmutil.gdinitconfig(ui):
         requirements.add('generaldelta')
-        # experimental config: format.sparse-revlog
         if ui.configbool('format', 'sparse-revlog'):
             requirements.add(SPARSEREVLOG_REQUIREMENT)
     if ui.configbool('experimental', 'treemanifest'):

          
M tests/test-help.t +2 -0
@@ 1502,6 1502,8 @@ Separate sections from subsections
   
       "usestore"
   
+      "sparse-revlog"
+  
       "profiling"
       -----------