Show More
@@ -241,15 +241,19 b' try:' | |||
|
241 | 241 | configitem = mercurial.registrar.configitem(configtable) |
|
242 | 242 | configitem(b'perf', b'presleep', |
|
243 | 243 | default=mercurial.configitems.dynamicdefault, |
|
244 | experimental=True, | |
|
244 | 245 | ) |
|
245 | 246 | configitem(b'perf', b'stub', |
|
246 | 247 | default=mercurial.configitems.dynamicdefault, |
|
248 | experimental=True, | |
|
247 | 249 | ) |
|
248 | 250 | configitem(b'perf', b'parentscount', |
|
249 | 251 | default=mercurial.configitems.dynamicdefault, |
|
252 | experimental=True, | |
|
250 | 253 | ) |
|
251 | 254 | configitem(b'perf', b'all-timing', |
|
252 | 255 | default=mercurial.configitems.dynamicdefault, |
|
256 | experimental=True, | |
|
253 | 257 | ) |
|
254 | 258 | configitem(b'perf', b'pre-run', |
|
255 | 259 | default=mercurial.configitems.dynamicdefault, |
@@ -259,6 +263,7 b' try:' | |||
|
259 | 263 | ) |
|
260 | 264 | configitem(b'perf', b'run-limits', |
|
261 | 265 | default=mercurial.configitems.dynamicdefault, |
|
266 | experimental=True, | |
|
262 | 267 | ) |
|
263 | 268 | except (ImportError, AttributeError): |
|
264 | 269 | pass |
@@ -167,6 +167,7 b" configitem('fsmonitor', 'watchman_exe'," | |||
|
167 | 167 | ) |
|
168 | 168 | configitem('fsmonitor', 'verbose', |
|
169 | 169 | default=True, |
|
170 | experimental=True, | |
|
170 | 171 | ) |
|
171 | 172 | configitem('experimental', 'fsmonitor.transaction_notify', |
|
172 | 173 | default=False, |
@@ -219,7 +219,7 b" configitem('remotefilelog', 'excludepatt" | |||
|
219 | 219 | |
|
220 | 220 | configitem('remotefilelog', 'gcrepack', default=False) |
|
221 | 221 | configitem('remotefilelog', 'repackonhggc', default=False) |
|
222 | configitem('repack', 'chainorphansbysize', default=True) | |
|
222 | configitem('repack', 'chainorphansbysize', default=True, experimental=True) | |
|
223 | 223 | |
|
224 | 224 | configitem('packs', 'maxpacksize', default=0) |
|
225 | 225 | configitem('packs', 'maxchainlen', default=1000) |
@@ -90,7 +90,8 b' configitem = registrar.configitem(config' | |||
|
90 | 90 | |
|
91 | 91 | # experimental config: storage.sqlite.compression |
|
92 | 92 | configitem('storage', 'sqlite.compression', |
|
93 |
default='zstd' if zstd else 'zlib' |
|
|
93 | default='zstd' if zstd else 'zlib', | |
|
94 | experimental=True) | |
|
94 | 95 | |
|
95 | 96 | # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for |
|
96 | 97 | # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
@@ -39,13 +39,14 b' class configitem(object):' | |||
|
39 | 39 | """ |
|
40 | 40 | |
|
41 | 41 | def __init__(self, section, name, default=None, alias=(), |
|
42 | generic=False, priority=0): | |
|
42 | generic=False, priority=0, experimental=False): | |
|
43 | 43 | self.section = section |
|
44 | 44 | self.name = name |
|
45 | 45 | self.default = default |
|
46 | 46 | self.alias = list(alias) |
|
47 | 47 | self.generic = generic |
|
48 | 48 | self.priority = priority |
|
49 | self.experimental = experimental | |
|
49 | 50 | self._re = None |
|
50 | 51 | if generic: |
|
51 | 52 | self._re = re.compile(self.name) |
@@ -166,6 +167,7 b" coreconfigitem('bundle', 'mainreporoot'," | |||
|
166 | 167 | ) |
|
167 | 168 | coreconfigitem('censor', 'policy', |
|
168 | 169 | default='abort', |
|
170 | experimental=True, | |
|
169 | 171 | ) |
|
170 | 172 | coreconfigitem('chgserver', 'idletimeout', |
|
171 | 173 | default=3600, |
@@ -184,9 +186,11 b" coreconfigitem('cmdserver', 'max-log-siz" | |||
|
184 | 186 | ) |
|
185 | 187 | coreconfigitem('cmdserver', 'max-repo-cache', |
|
186 | 188 | default=0, |
|
189 | experimental=True, | |
|
187 | 190 | ) |
|
188 | 191 | coreconfigitem('cmdserver', 'message-encodings', |
|
189 | 192 | default=list, |
|
193 | experimental=True, | |
|
190 | 194 | ) |
|
191 | 195 | coreconfigitem('cmdserver', 'track-log', |
|
192 | 196 | default=lambda: ['chgserver', 'cmdserver', 'repocache'], |
@@ -207,6 +211,7 b" coreconfigitem('commands', 'commit.post-" | |||
|
207 | 211 | ) |
|
208 | 212 | coreconfigitem('commands', 'grep.all-files', |
|
209 | 213 | default=False, |
|
214 | experimental=True, | |
|
210 | 215 | ) |
|
211 | 216 | coreconfigitem('commands', 'resolve.confirm', |
|
212 | 217 | default=False, |
@@ -226,6 +231,7 b" coreconfigitem('commands', 'status.relat" | |||
|
226 | 231 | ) |
|
227 | 232 | coreconfigitem('commands', 'status.skipstates', |
|
228 | 233 | default=[], |
|
234 | experimental=True, | |
|
229 | 235 | ) |
|
230 | 236 | coreconfigitem('commands', 'status.terse', |
|
231 | 237 | default='', |
@@ -314,6 +320,7 b" coreconfigitem('convert', 'hg.usebranchn" | |||
|
314 | 320 | ) |
|
315 | 321 | coreconfigitem('convert', 'ignoreancestorcheck', |
|
316 | 322 | default=False, |
|
323 | experimental=True, | |
|
317 | 324 | ) |
|
318 | 325 | coreconfigitem('convert', 'localtimezone', |
|
319 | 326 | default=False, |
@@ -687,18 +694,22 b" coreconfigitem('format', 'bookmarks-in-s" | |||
|
687 | 694 | ) |
|
688 | 695 | coreconfigitem('format', 'chunkcachesize', |
|
689 | 696 | default=None, |
|
697 | experimental=True, | |
|
690 | 698 | ) |
|
691 | 699 | coreconfigitem('format', 'dotencode', |
|
692 | 700 | default=True, |
|
693 | 701 | ) |
|
694 | 702 | coreconfigitem('format', 'generaldelta', |
|
695 | 703 | default=False, |
|
704 | experimental=True, | |
|
696 | 705 | ) |
|
697 | 706 | coreconfigitem('format', 'manifestcachesize', |
|
698 | 707 | default=None, |
|
708 | experimental=True, | |
|
699 | 709 | ) |
|
700 | 710 | coreconfigitem('format', 'maxchainlen', |
|
701 | 711 | default=dynamicdefault, |
|
712 | experimental=True, | |
|
702 | 713 | ) |
|
703 | 714 | coreconfigitem('format', 'obsstore-version', |
|
704 | 715 | default=None, |
@@ -721,6 +732,7 b" coreconfigitem('format', 'usestore'," | |||
|
721 | 732 | ) |
|
722 | 733 | coreconfigitem('format', 'internal-phase', |
|
723 | 734 | default=False, |
|
735 | experimental=True, | |
|
724 | 736 | ) |
|
725 | 737 | coreconfigitem('fsmonitor', 'warn_when_unused', |
|
726 | 738 | default=True, |
@@ -826,6 +838,7 b" coreconfigitem('merge', 'on-failure'," | |||
|
826 | 838 | ) |
|
827 | 839 | coreconfigitem('merge', 'preferancestor', |
|
828 | 840 | default=lambda: ['*'], |
|
841 | experimental=True, | |
|
829 | 842 | ) |
|
830 | 843 | coreconfigitem('merge', 'strict-capability-check', |
|
831 | 844 | default=False, |
@@ -1010,6 +1023,7 b" coreconfigitem('rewrite', 'update-timest" | |||
|
1010 | 1023 | ) |
|
1011 | 1024 | coreconfigitem('storage', 'new-repo-backend', |
|
1012 | 1025 | default='revlogv1', |
|
1026 | experimental=True, | |
|
1013 | 1027 | ) |
|
1014 | 1028 | coreconfigitem('storage', 'revlog.optimize-delta-parent-choice', |
|
1015 | 1029 | default=True, |
@@ -1120,6 +1134,7 b" coreconfigitem('smtp', 'username'," | |||
|
1120 | 1134 | ) |
|
1121 | 1135 | coreconfigitem('sparse', 'missingwarning', |
|
1122 | 1136 | default=True, |
|
1137 | experimental=True, | |
|
1123 | 1138 | ) |
|
1124 | 1139 | coreconfigitem('subrepos', 'allowed', |
|
1125 | 1140 | default=dynamicdefault, # to make backporting simpler |
@@ -1466,6 +1481,7 b" coreconfigitem('web', 'templates'," | |||
|
1466 | 1481 | ) |
|
1467 | 1482 | coreconfigitem('web', 'view', |
|
1468 | 1483 | default='served', |
|
1484 | experimental=True, | |
|
1469 | 1485 | ) |
|
1470 | 1486 | coreconfigitem('worker', 'backgroundclose', |
|
1471 | 1487 | default=dynamicdefault, |
General Comments 0
You need to be logged in to leave comments.
Login now