--- a/mercurial/commands.py Sat Mar 13 08:59:03 2021 +0100
+++ b/mercurial/commands.py Sun Nov 08 20:17:09 2020 +0100
@@ -1648,6 +1648,14 @@
if complevel is not None:
compopts[b'level'] = complevel
+ compthreads = ui.configint(
+ b'experimental', b'bundlecompthreads.' + bundlespec.compression
+ )
+ if compthreads is None:
+ compthreads = ui.configint(b'experimental', b'bundlecompthreads')
+ if compthreads is not None:
+ compopts[b'threads'] = compthreads
+
# Bundling of obsmarker and phases is optional as not all clients
# support the necessary features.
cfg = ui.configbool