mercurial/commands.py
changeset 46776 471cd86c8eb4
parent 46764 685383486d0a
child 46777 25850879a215
equal deleted inserted replaced
46775:c94fa884240b 46776:471cd86c8eb4
  1646     if complevel is None:
  1646     if complevel is None:
  1647         complevel = ui.configint(b'experimental', b'bundlecomplevel')
  1647         complevel = ui.configint(b'experimental', b'bundlecomplevel')
  1648     if complevel is not None:
  1648     if complevel is not None:
  1649         compopts[b'level'] = complevel
  1649         compopts[b'level'] = complevel
  1650 
  1650 
       
  1651     compthreads = ui.configint(
       
  1652         b'experimental', b'bundlecompthreads.' + bundlespec.compression
       
  1653     )
       
  1654     if compthreads is None:
       
  1655         compthreads = ui.configint(b'experimental', b'bundlecompthreads')
       
  1656     if compthreads is not None:
       
  1657         compopts[b'threads'] = compthreads
       
  1658 
  1651     # Bundling of obsmarker and phases is optional as not all clients
  1659     # Bundling of obsmarker and phases is optional as not all clients
  1652     # support the necessary features.
  1660     # support the necessary features.
  1653     cfg = ui.configbool
  1661     cfg = ui.configbool
  1654     contentopts = {
  1662     contentopts = {
  1655         b'obsolescence': cfg(b'experimental', b'evolution.bundle-obsmarker'),
  1663         b'obsolescence': cfg(b'experimental', b'evolution.bundle-obsmarker'),