diff mercurial/configitems.py @ 37769:6a7ff5816c5f

bundle: introduce per-engine compression level If experimental.bundlecomplevel.$engine is set, prefer it over the generic experimental.bundlecomplevel. Given that compression levels have widely different meanings across engines, this allows much saner configuration. Differential Revision: https://phab.mercurial-scm.org/D3393
author Joerg Sonnenberger <joerg@bec.de>
date Tue, 17 Apr 2018 03:07:01 +0200
parents 0a5fe2a08e82
children 8c828beb7543 18424aeece7f
line wrap: on
line diff
--- a/mercurial/configitems.py	Tue Apr 17 02:41:25 2018 +0200
+++ b/mercurial/configitems.py	Tue Apr 17 03:07:01 2018 +0200
@@ -440,6 +440,18 @@
 coreconfigitem('experimental', 'bundlecomplevel',
     default=None,
 )
+coreconfigitem('experimental', 'bundlecomplevel.bzip2',
+    default=None,
+)
+coreconfigitem('experimental', 'bundlecomplevel.gzip',
+    default=None,
+)
+coreconfigitem('experimental', 'bundlecomplevel.none',
+    default=None,
+)
+coreconfigitem('experimental', 'bundlecomplevel.zstd',
+    default=None,
+)
 coreconfigitem('experimental', 'changegroup3',
     default=False,
 )