equal
deleted
inserted
replaced
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'), |