diff mercurial/configitems.py @ 34825:4d5d5009bd75

revlog-sparse-read: add a lower-threshold for read block size The option experimental.sparse-read.min-block-size specifies the minimal size of a deltachain span, under which it won't be split by _slicechunk.
author Paul Morelle <paul.morelle@octobus.net>
date Sat, 14 Oct 2017 17:05:41 +0200
parents e2ad93bcc084
children 18a3274ed675
line wrap: on
line diff
--- a/mercurial/configitems.py	Tue Oct 10 17:50:27 2017 +0200
+++ b/mercurial/configitems.py	Sat Oct 14 17:05:41 2017 +0200
@@ -417,6 +417,9 @@
 coreconfigitem('experimental', 'sparse-read.density-threshold',
     default=0.25,
 )
+coreconfigitem('experimental', 'sparse-read.min-block-size',
+    default='256K',
+)
 coreconfigitem('experimental', 'treemanifest',
     default=False,
 )