Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 46313:4cde46f62ebf
persistent-nodemap: remove the "experimental" tag to the feature
This has been around for a while and has all the discussed configuration
options.
Differential Revision: https://phab.mercurial-scm.org/D9764
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 14 Jan 2021 04:56:29 +0100 |
parents | 28899b6f4480 |
children | 6ee9bd69ff7f |
comparison
equal
deleted
inserted
replaced
46312:28899b6f4480 | 46313:4cde46f62ebf |
---|---|
1264 coreconfigitem( | 1264 coreconfigitem( |
1265 b'format', | 1265 b'format', |
1266 b'usestore', | 1266 b'usestore', |
1267 default=True, | 1267 default=True, |
1268 ) | 1268 ) |
1269 # Right now, the only efficient implement of the nodemap logic is in Rust, | 1269 coreconfigitem( |
1270 # | 1270 b'format', |
1271 # The case was discussed that the 5.6 sprint and the following was decided for | 1271 b'use-persistent-nodemap', |
1272 # feature that have an optional fast implementation (and are a performance | 1272 default=False, |
1273 # regression in the others) | |
1274 # | |
1275 # * If the fast implementation is not available, Mercurial will refuse to | |
1276 # access repository that requires it. Pointing to proper documentation | |
1277 # | |
1278 # * An option exist to lift that limitation and allow repository access. | |
1279 # | |
1280 # Such access will emit a warning unless configured not to. | |
1281 # | |
1282 # * When sufficiently mature, the feature can be enabled by default only for | |
1283 # installation that supports it. | |
1284 coreconfigitem( | |
1285 b'format', b'use-persistent-nodemap', default=False, experimental=True | |
1286 ) | 1273 ) |
1287 coreconfigitem( | 1274 coreconfigitem( |
1288 b'format', | 1275 b'format', |
1289 b'exp-use-copies-side-data-changeset', | 1276 b'exp-use-copies-side-data-changeset', |
1290 default=False, | 1277 default=False, |
1785 # experimental as long as rust is experimental (or a C version is implemented) | 1772 # experimental as long as rust is experimental (or a C version is implemented) |
1786 coreconfigitem( | 1773 coreconfigitem( |
1787 b'storage', | 1774 b'storage', |
1788 b'revlog.persistent-nodemap.mmap', | 1775 b'revlog.persistent-nodemap.mmap', |
1789 default=True, | 1776 default=True, |
1790 experimental=True, | |
1791 ) | 1777 ) |
1792 # experimental as long as format.use-persistent-nodemap is. | 1778 # experimental as long as format.use-persistent-nodemap is. |
1793 coreconfigitem( | 1779 coreconfigitem( |
1794 b'storage', | 1780 b'storage', |
1795 b'revlog.persistent-nodemap.slow-path', | 1781 b'revlog.persistent-nodemap.slow-path', |
1796 default=b"abort", | 1782 default=b"abort", |
1797 experimental=True, | |
1798 ) | 1783 ) |
1799 | 1784 |
1800 coreconfigitem( | 1785 coreconfigitem( |
1801 b'storage', | 1786 b'storage', |
1802 b'revlog.reuse-external-delta', | 1787 b'revlog.reuse-external-delta', |