##// END OF EJS Templates
persistent-nodemap: remove the "experimental" tag to the feature...
marmoute -
r47031:4cde46f6 default
parent child Browse files
Show More
@@ -1,2591 +1,2576 b''
1 1 # configitems.py - centralized declaration of configuration option
2 2 #
3 3 # Copyright 2017 Pierre-Yves David <pierre-yves.david@octobus.net>
4 4 #
5 5 # This software may be used and distributed according to the terms of the
6 6 # GNU General Public License version 2 or any later version.
7 7
8 8 from __future__ import absolute_import
9 9
10 10 import functools
11 11 import re
12 12
13 13 from . import (
14 14 encoding,
15 15 error,
16 16 )
17 17
18 18
19 19 def loadconfigtable(ui, extname, configtable):
20 20 """update config item known to the ui with the extension ones"""
21 21 for section, items in sorted(configtable.items()):
22 22 knownitems = ui._knownconfig.setdefault(section, itemregister())
23 23 knownkeys = set(knownitems)
24 24 newkeys = set(items)
25 25 for key in sorted(knownkeys & newkeys):
26 26 msg = b"extension '%s' overwrite config item '%s.%s'"
27 27 msg %= (extname, section, key)
28 28 ui.develwarn(msg, config=b'warn-config')
29 29
30 30 knownitems.update(items)
31 31
32 32
33 33 class configitem(object):
34 34 """represent a known config item
35 35
36 36 :section: the official config section where to find this item,
37 37 :name: the official name within the section,
38 38 :default: default value for this item,
39 39 :alias: optional list of tuples as alternatives,
40 40 :generic: this is a generic definition, match name using regular expression.
41 41 """
42 42
43 43 def __init__(
44 44 self,
45 45 section,
46 46 name,
47 47 default=None,
48 48 alias=(),
49 49 generic=False,
50 50 priority=0,
51 51 experimental=False,
52 52 ):
53 53 self.section = section
54 54 self.name = name
55 55 self.default = default
56 56 self.alias = list(alias)
57 57 self.generic = generic
58 58 self.priority = priority
59 59 self.experimental = experimental
60 60 self._re = None
61 61 if generic:
62 62 self._re = re.compile(self.name)
63 63
64 64
65 65 class itemregister(dict):
66 66 """A specialized dictionary that can handle wild-card selection"""
67 67
68 68 def __init__(self):
69 69 super(itemregister, self).__init__()
70 70 self._generics = set()
71 71
72 72 def update(self, other):
73 73 super(itemregister, self).update(other)
74 74 self._generics.update(other._generics)
75 75
76 76 def __setitem__(self, key, item):
77 77 super(itemregister, self).__setitem__(key, item)
78 78 if item.generic:
79 79 self._generics.add(item)
80 80
81 81 def get(self, key):
82 82 baseitem = super(itemregister, self).get(key)
83 83 if baseitem is not None and not baseitem.generic:
84 84 return baseitem
85 85
86 86 # search for a matching generic item
87 87 generics = sorted(self._generics, key=(lambda x: (x.priority, x.name)))
88 88 for item in generics:
89 89 # we use 'match' instead of 'search' to make the matching simpler
90 90 # for people unfamiliar with regular expression. Having the match
91 91 # rooted to the start of the string will produce less surprising
92 92 # result for user writing simple regex for sub-attribute.
93 93 #
94 94 # For example using "color\..*" match produces an unsurprising
95 95 # result, while using search could suddenly match apparently
96 96 # unrelated configuration that happens to contains "color."
97 97 # anywhere. This is a tradeoff where we favor requiring ".*" on
98 98 # some match to avoid the need to prefix most pattern with "^".
99 99 # The "^" seems more error prone.
100 100 if item._re.match(key):
101 101 return item
102 102
103 103 return None
104 104
105 105
106 106 coreitems = {}
107 107
108 108
109 109 def _register(configtable, *args, **kwargs):
110 110 item = configitem(*args, **kwargs)
111 111 section = configtable.setdefault(item.section, itemregister())
112 112 if item.name in section:
113 113 msg = b"duplicated config item registration for '%s.%s'"
114 114 raise error.ProgrammingError(msg % (item.section, item.name))
115 115 section[item.name] = item
116 116
117 117
118 118 # special value for case where the default is derived from other values
119 119 dynamicdefault = object()
120 120
121 121 # Registering actual config items
122 122
123 123
124 124 def getitemregister(configtable):
125 125 f = functools.partial(_register, configtable)
126 126 # export pseudo enum as configitem.*
127 127 f.dynamicdefault = dynamicdefault
128 128 return f
129 129
130 130
131 131 coreconfigitem = getitemregister(coreitems)
132 132
133 133
134 134 def _registerdiffopts(section, configprefix=b''):
135 135 coreconfigitem(
136 136 section,
137 137 configprefix + b'nodates',
138 138 default=False,
139 139 )
140 140 coreconfigitem(
141 141 section,
142 142 configprefix + b'showfunc',
143 143 default=False,
144 144 )
145 145 coreconfigitem(
146 146 section,
147 147 configprefix + b'unified',
148 148 default=None,
149 149 )
150 150 coreconfigitem(
151 151 section,
152 152 configprefix + b'git',
153 153 default=False,
154 154 )
155 155 coreconfigitem(
156 156 section,
157 157 configprefix + b'ignorews',
158 158 default=False,
159 159 )
160 160 coreconfigitem(
161 161 section,
162 162 configprefix + b'ignorewsamount',
163 163 default=False,
164 164 )
165 165 coreconfigitem(
166 166 section,
167 167 configprefix + b'ignoreblanklines',
168 168 default=False,
169 169 )
170 170 coreconfigitem(
171 171 section,
172 172 configprefix + b'ignorewseol',
173 173 default=False,
174 174 )
175 175 coreconfigitem(
176 176 section,
177 177 configprefix + b'nobinary',
178 178 default=False,
179 179 )
180 180 coreconfigitem(
181 181 section,
182 182 configprefix + b'noprefix',
183 183 default=False,
184 184 )
185 185 coreconfigitem(
186 186 section,
187 187 configprefix + b'word-diff',
188 188 default=False,
189 189 )
190 190
191 191
192 192 coreconfigitem(
193 193 b'alias',
194 194 b'.*',
195 195 default=dynamicdefault,
196 196 generic=True,
197 197 )
198 198 coreconfigitem(
199 199 b'auth',
200 200 b'cookiefile',
201 201 default=None,
202 202 )
203 203 _registerdiffopts(section=b'annotate')
204 204 # bookmarks.pushing: internal hack for discovery
205 205 coreconfigitem(
206 206 b'bookmarks',
207 207 b'pushing',
208 208 default=list,
209 209 )
210 210 # bundle.mainreporoot: internal hack for bundlerepo
211 211 coreconfigitem(
212 212 b'bundle',
213 213 b'mainreporoot',
214 214 default=b'',
215 215 )
216 216 coreconfigitem(
217 217 b'censor',
218 218 b'policy',
219 219 default=b'abort',
220 220 experimental=True,
221 221 )
222 222 coreconfigitem(
223 223 b'chgserver',
224 224 b'idletimeout',
225 225 default=3600,
226 226 )
227 227 coreconfigitem(
228 228 b'chgserver',
229 229 b'skiphash',
230 230 default=False,
231 231 )
232 232 coreconfigitem(
233 233 b'cmdserver',
234 234 b'log',
235 235 default=None,
236 236 )
237 237 coreconfigitem(
238 238 b'cmdserver',
239 239 b'max-log-files',
240 240 default=7,
241 241 )
242 242 coreconfigitem(
243 243 b'cmdserver',
244 244 b'max-log-size',
245 245 default=b'1 MB',
246 246 )
247 247 coreconfigitem(
248 248 b'cmdserver',
249 249 b'max-repo-cache',
250 250 default=0,
251 251 experimental=True,
252 252 )
253 253 coreconfigitem(
254 254 b'cmdserver',
255 255 b'message-encodings',
256 256 default=list,
257 257 )
258 258 coreconfigitem(
259 259 b'cmdserver',
260 260 b'track-log',
261 261 default=lambda: [b'chgserver', b'cmdserver', b'repocache'],
262 262 )
263 263 coreconfigitem(
264 264 b'cmdserver',
265 265 b'shutdown-on-interrupt',
266 266 default=True,
267 267 )
268 268 coreconfigitem(
269 269 b'color',
270 270 b'.*',
271 271 default=None,
272 272 generic=True,
273 273 )
274 274 coreconfigitem(
275 275 b'color',
276 276 b'mode',
277 277 default=b'auto',
278 278 )
279 279 coreconfigitem(
280 280 b'color',
281 281 b'pagermode',
282 282 default=dynamicdefault,
283 283 )
284 284 coreconfigitem(
285 285 b'command-templates',
286 286 b'graphnode',
287 287 default=None,
288 288 alias=[(b'ui', b'graphnodetemplate')],
289 289 )
290 290 coreconfigitem(
291 291 b'command-templates',
292 292 b'log',
293 293 default=None,
294 294 alias=[(b'ui', b'logtemplate')],
295 295 )
296 296 coreconfigitem(
297 297 b'command-templates',
298 298 b'mergemarker',
299 299 default=(
300 300 b'{node|short} '
301 301 b'{ifeq(tags, "tip", "", '
302 302 b'ifeq(tags, "", "", "{tags} "))}'
303 303 b'{if(bookmarks, "{bookmarks} ")}'
304 304 b'{ifeq(branch, "default", "", "{branch} ")}'
305 305 b'- {author|user}: {desc|firstline}'
306 306 ),
307 307 alias=[(b'ui', b'mergemarkertemplate')],
308 308 )
309 309 coreconfigitem(
310 310 b'command-templates',
311 311 b'pre-merge-tool-output',
312 312 default=None,
313 313 alias=[(b'ui', b'pre-merge-tool-output-template')],
314 314 )
315 315 coreconfigitem(
316 316 b'command-templates',
317 317 b'oneline-summary',
318 318 default=None,
319 319 )
320 320 coreconfigitem(
321 321 b'command-templates',
322 322 b'oneline-summary.*',
323 323 default=dynamicdefault,
324 324 generic=True,
325 325 )
326 326 _registerdiffopts(section=b'commands', configprefix=b'commit.interactive.')
327 327 coreconfigitem(
328 328 b'commands',
329 329 b'commit.post-status',
330 330 default=False,
331 331 )
332 332 coreconfigitem(
333 333 b'commands',
334 334 b'grep.all-files',
335 335 default=False,
336 336 experimental=True,
337 337 )
338 338 coreconfigitem(
339 339 b'commands',
340 340 b'merge.require-rev',
341 341 default=False,
342 342 )
343 343 coreconfigitem(
344 344 b'commands',
345 345 b'push.require-revs',
346 346 default=False,
347 347 )
348 348 coreconfigitem(
349 349 b'commands',
350 350 b'resolve.confirm',
351 351 default=False,
352 352 )
353 353 coreconfigitem(
354 354 b'commands',
355 355 b'resolve.explicit-re-merge',
356 356 default=False,
357 357 )
358 358 coreconfigitem(
359 359 b'commands',
360 360 b'resolve.mark-check',
361 361 default=b'none',
362 362 )
363 363 _registerdiffopts(section=b'commands', configprefix=b'revert.interactive.')
364 364 coreconfigitem(
365 365 b'commands',
366 366 b'show.aliasprefix',
367 367 default=list,
368 368 )
369 369 coreconfigitem(
370 370 b'commands',
371 371 b'status.relative',
372 372 default=False,
373 373 )
374 374 coreconfigitem(
375 375 b'commands',
376 376 b'status.skipstates',
377 377 default=[],
378 378 experimental=True,
379 379 )
380 380 coreconfigitem(
381 381 b'commands',
382 382 b'status.terse',
383 383 default=b'',
384 384 )
385 385 coreconfigitem(
386 386 b'commands',
387 387 b'status.verbose',
388 388 default=False,
389 389 )
390 390 coreconfigitem(
391 391 b'commands',
392 392 b'update.check',
393 393 default=None,
394 394 )
395 395 coreconfigitem(
396 396 b'commands',
397 397 b'update.requiredest',
398 398 default=False,
399 399 )
400 400 coreconfigitem(
401 401 b'committemplate',
402 402 b'.*',
403 403 default=None,
404 404 generic=True,
405 405 )
406 406 coreconfigitem(
407 407 b'convert',
408 408 b'bzr.saverev',
409 409 default=True,
410 410 )
411 411 coreconfigitem(
412 412 b'convert',
413 413 b'cvsps.cache',
414 414 default=True,
415 415 )
416 416 coreconfigitem(
417 417 b'convert',
418 418 b'cvsps.fuzz',
419 419 default=60,
420 420 )
421 421 coreconfigitem(
422 422 b'convert',
423 423 b'cvsps.logencoding',
424 424 default=None,
425 425 )
426 426 coreconfigitem(
427 427 b'convert',
428 428 b'cvsps.mergefrom',
429 429 default=None,
430 430 )
431 431 coreconfigitem(
432 432 b'convert',
433 433 b'cvsps.mergeto',
434 434 default=None,
435 435 )
436 436 coreconfigitem(
437 437 b'convert',
438 438 b'git.committeractions',
439 439 default=lambda: [b'messagedifferent'],
440 440 )
441 441 coreconfigitem(
442 442 b'convert',
443 443 b'git.extrakeys',
444 444 default=list,
445 445 )
446 446 coreconfigitem(
447 447 b'convert',
448 448 b'git.findcopiesharder',
449 449 default=False,
450 450 )
451 451 coreconfigitem(
452 452 b'convert',
453 453 b'git.remoteprefix',
454 454 default=b'remote',
455 455 )
456 456 coreconfigitem(
457 457 b'convert',
458 458 b'git.renamelimit',
459 459 default=400,
460 460 )
461 461 coreconfigitem(
462 462 b'convert',
463 463 b'git.saverev',
464 464 default=True,
465 465 )
466 466 coreconfigitem(
467 467 b'convert',
468 468 b'git.similarity',
469 469 default=50,
470 470 )
471 471 coreconfigitem(
472 472 b'convert',
473 473 b'git.skipsubmodules',
474 474 default=False,
475 475 )
476 476 coreconfigitem(
477 477 b'convert',
478 478 b'hg.clonebranches',
479 479 default=False,
480 480 )
481 481 coreconfigitem(
482 482 b'convert',
483 483 b'hg.ignoreerrors',
484 484 default=False,
485 485 )
486 486 coreconfigitem(
487 487 b'convert',
488 488 b'hg.preserve-hash',
489 489 default=False,
490 490 )
491 491 coreconfigitem(
492 492 b'convert',
493 493 b'hg.revs',
494 494 default=None,
495 495 )
496 496 coreconfigitem(
497 497 b'convert',
498 498 b'hg.saverev',
499 499 default=False,
500 500 )
501 501 coreconfigitem(
502 502 b'convert',
503 503 b'hg.sourcename',
504 504 default=None,
505 505 )
506 506 coreconfigitem(
507 507 b'convert',
508 508 b'hg.startrev',
509 509 default=None,
510 510 )
511 511 coreconfigitem(
512 512 b'convert',
513 513 b'hg.tagsbranch',
514 514 default=b'default',
515 515 )
516 516 coreconfigitem(
517 517 b'convert',
518 518 b'hg.usebranchnames',
519 519 default=True,
520 520 )
521 521 coreconfigitem(
522 522 b'convert',
523 523 b'ignoreancestorcheck',
524 524 default=False,
525 525 experimental=True,
526 526 )
527 527 coreconfigitem(
528 528 b'convert',
529 529 b'localtimezone',
530 530 default=False,
531 531 )
532 532 coreconfigitem(
533 533 b'convert',
534 534 b'p4.encoding',
535 535 default=dynamicdefault,
536 536 )
537 537 coreconfigitem(
538 538 b'convert',
539 539 b'p4.startrev',
540 540 default=0,
541 541 )
542 542 coreconfigitem(
543 543 b'convert',
544 544 b'skiptags',
545 545 default=False,
546 546 )
547 547 coreconfigitem(
548 548 b'convert',
549 549 b'svn.debugsvnlog',
550 550 default=True,
551 551 )
552 552 coreconfigitem(
553 553 b'convert',
554 554 b'svn.trunk',
555 555 default=None,
556 556 )
557 557 coreconfigitem(
558 558 b'convert',
559 559 b'svn.tags',
560 560 default=None,
561 561 )
562 562 coreconfigitem(
563 563 b'convert',
564 564 b'svn.branches',
565 565 default=None,
566 566 )
567 567 coreconfigitem(
568 568 b'convert',
569 569 b'svn.startrev',
570 570 default=0,
571 571 )
572 572 coreconfigitem(
573 573 b'debug',
574 574 b'dirstate.delaywrite',
575 575 default=0,
576 576 )
577 577 coreconfigitem(
578 578 b'defaults',
579 579 b'.*',
580 580 default=None,
581 581 generic=True,
582 582 )
583 583 coreconfigitem(
584 584 b'devel',
585 585 b'all-warnings',
586 586 default=False,
587 587 )
588 588 coreconfigitem(
589 589 b'devel',
590 590 b'bundle2.debug',
591 591 default=False,
592 592 )
593 593 coreconfigitem(
594 594 b'devel',
595 595 b'bundle.delta',
596 596 default=b'',
597 597 )
598 598 coreconfigitem(
599 599 b'devel',
600 600 b'cache-vfs',
601 601 default=None,
602 602 )
603 603 coreconfigitem(
604 604 b'devel',
605 605 b'check-locks',
606 606 default=False,
607 607 )
608 608 coreconfigitem(
609 609 b'devel',
610 610 b'check-relroot',
611 611 default=False,
612 612 )
613 613 coreconfigitem(
614 614 b'devel',
615 615 b'default-date',
616 616 default=None,
617 617 )
618 618 coreconfigitem(
619 619 b'devel',
620 620 b'deprec-warn',
621 621 default=False,
622 622 )
623 623 coreconfigitem(
624 624 b'devel',
625 625 b'disableloaddefaultcerts',
626 626 default=False,
627 627 )
628 628 coreconfigitem(
629 629 b'devel',
630 630 b'warn-empty-changegroup',
631 631 default=False,
632 632 )
633 633 coreconfigitem(
634 634 b'devel',
635 635 b'legacy.exchange',
636 636 default=list,
637 637 )
638 638 # When True, revlogs use a special reference version of the nodemap, that is not
639 639 # performant but is "known" to behave properly.
640 640 coreconfigitem(
641 641 b'devel',
642 642 b'persistent-nodemap',
643 643 default=False,
644 644 )
645 645 coreconfigitem(
646 646 b'devel',
647 647 b'servercafile',
648 648 default=b'',
649 649 )
650 650 coreconfigitem(
651 651 b'devel',
652 652 b'serverexactprotocol',
653 653 default=b'',
654 654 )
655 655 coreconfigitem(
656 656 b'devel',
657 657 b'serverrequirecert',
658 658 default=False,
659 659 )
660 660 coreconfigitem(
661 661 b'devel',
662 662 b'strip-obsmarkers',
663 663 default=True,
664 664 )
665 665 coreconfigitem(
666 666 b'devel',
667 667 b'warn-config',
668 668 default=None,
669 669 )
670 670 coreconfigitem(
671 671 b'devel',
672 672 b'warn-config-default',
673 673 default=None,
674 674 )
675 675 coreconfigitem(
676 676 b'devel',
677 677 b'user.obsmarker',
678 678 default=None,
679 679 )
680 680 coreconfigitem(
681 681 b'devel',
682 682 b'warn-config-unknown',
683 683 default=None,
684 684 )
685 685 coreconfigitem(
686 686 b'devel',
687 687 b'debug.copies',
688 688 default=False,
689 689 )
690 690 coreconfigitem(
691 691 b'devel',
692 692 b'debug.extensions',
693 693 default=False,
694 694 )
695 695 coreconfigitem(
696 696 b'devel',
697 697 b'debug.repo-filters',
698 698 default=False,
699 699 )
700 700 coreconfigitem(
701 701 b'devel',
702 702 b'debug.peer-request',
703 703 default=False,
704 704 )
705 705 # If discovery.grow-sample is False, the sample size used in set discovery will
706 706 # not be increased through the process
707 707 coreconfigitem(
708 708 b'devel',
709 709 b'discovery.grow-sample',
710 710 default=True,
711 711 )
712 712 # discovery.grow-sample.rate control the rate at which the sample grow
713 713 coreconfigitem(
714 714 b'devel',
715 715 b'discovery.grow-sample.rate',
716 716 default=1.05,
717 717 )
718 718 # If discovery.randomize is False, random sampling during discovery are
719 719 # deterministic. It is meant for integration tests.
720 720 coreconfigitem(
721 721 b'devel',
722 722 b'discovery.randomize',
723 723 default=True,
724 724 )
725 725 _registerdiffopts(section=b'diff')
726 726 coreconfigitem(
727 727 b'email',
728 728 b'bcc',
729 729 default=None,
730 730 )
731 731 coreconfigitem(
732 732 b'email',
733 733 b'cc',
734 734 default=None,
735 735 )
736 736 coreconfigitem(
737 737 b'email',
738 738 b'charsets',
739 739 default=list,
740 740 )
741 741 coreconfigitem(
742 742 b'email',
743 743 b'from',
744 744 default=None,
745 745 )
746 746 coreconfigitem(
747 747 b'email',
748 748 b'method',
749 749 default=b'smtp',
750 750 )
751 751 coreconfigitem(
752 752 b'email',
753 753 b'reply-to',
754 754 default=None,
755 755 )
756 756 coreconfigitem(
757 757 b'email',
758 758 b'to',
759 759 default=None,
760 760 )
761 761 coreconfigitem(
762 762 b'experimental',
763 763 b'archivemetatemplate',
764 764 default=dynamicdefault,
765 765 )
766 766 coreconfigitem(
767 767 b'experimental',
768 768 b'auto-publish',
769 769 default=b'publish',
770 770 )
771 771 coreconfigitem(
772 772 b'experimental',
773 773 b'bundle-phases',
774 774 default=False,
775 775 )
776 776 coreconfigitem(
777 777 b'experimental',
778 778 b'bundle2-advertise',
779 779 default=True,
780 780 )
781 781 coreconfigitem(
782 782 b'experimental',
783 783 b'bundle2-output-capture',
784 784 default=False,
785 785 )
786 786 coreconfigitem(
787 787 b'experimental',
788 788 b'bundle2.pushback',
789 789 default=False,
790 790 )
791 791 coreconfigitem(
792 792 b'experimental',
793 793 b'bundle2lazylocking',
794 794 default=False,
795 795 )
796 796 coreconfigitem(
797 797 b'experimental',
798 798 b'bundlecomplevel',
799 799 default=None,
800 800 )
801 801 coreconfigitem(
802 802 b'experimental',
803 803 b'bundlecomplevel.bzip2',
804 804 default=None,
805 805 )
806 806 coreconfigitem(
807 807 b'experimental',
808 808 b'bundlecomplevel.gzip',
809 809 default=None,
810 810 )
811 811 coreconfigitem(
812 812 b'experimental',
813 813 b'bundlecomplevel.none',
814 814 default=None,
815 815 )
816 816 coreconfigitem(
817 817 b'experimental',
818 818 b'bundlecomplevel.zstd',
819 819 default=None,
820 820 )
821 821 coreconfigitem(
822 822 b'experimental',
823 823 b'changegroup3',
824 824 default=False,
825 825 )
826 826 coreconfigitem(
827 827 b'experimental',
828 828 b'cleanup-as-archived',
829 829 default=False,
830 830 )
831 831 coreconfigitem(
832 832 b'experimental',
833 833 b'clientcompressionengines',
834 834 default=list,
835 835 )
836 836 coreconfigitem(
837 837 b'experimental',
838 838 b'copytrace',
839 839 default=b'on',
840 840 )
841 841 coreconfigitem(
842 842 b'experimental',
843 843 b'copytrace.movecandidateslimit',
844 844 default=100,
845 845 )
846 846 coreconfigitem(
847 847 b'experimental',
848 848 b'copytrace.sourcecommitlimit',
849 849 default=100,
850 850 )
851 851 coreconfigitem(
852 852 b'experimental',
853 853 b'copies.read-from',
854 854 default=b"filelog-only",
855 855 )
856 856 coreconfigitem(
857 857 b'experimental',
858 858 b'copies.write-to',
859 859 default=b'filelog-only',
860 860 )
861 861 coreconfigitem(
862 862 b'experimental',
863 863 b'crecordtest',
864 864 default=None,
865 865 )
866 866 coreconfigitem(
867 867 b'experimental',
868 868 b'directaccess',
869 869 default=False,
870 870 )
871 871 coreconfigitem(
872 872 b'experimental',
873 873 b'directaccess.revnums',
874 874 default=False,
875 875 )
876 876 coreconfigitem(
877 877 b'experimental',
878 878 b'editortmpinhg',
879 879 default=False,
880 880 )
881 881 coreconfigitem(
882 882 b'experimental',
883 883 b'evolution',
884 884 default=list,
885 885 )
886 886 coreconfigitem(
887 887 b'experimental',
888 888 b'evolution.allowdivergence',
889 889 default=False,
890 890 alias=[(b'experimental', b'allowdivergence')],
891 891 )
892 892 coreconfigitem(
893 893 b'experimental',
894 894 b'evolution.allowunstable',
895 895 default=None,
896 896 )
897 897 coreconfigitem(
898 898 b'experimental',
899 899 b'evolution.createmarkers',
900 900 default=None,
901 901 )
902 902 coreconfigitem(
903 903 b'experimental',
904 904 b'evolution.effect-flags',
905 905 default=True,
906 906 alias=[(b'experimental', b'effect-flags')],
907 907 )
908 908 coreconfigitem(
909 909 b'experimental',
910 910 b'evolution.exchange',
911 911 default=None,
912 912 )
913 913 coreconfigitem(
914 914 b'experimental',
915 915 b'evolution.bundle-obsmarker',
916 916 default=False,
917 917 )
918 918 coreconfigitem(
919 919 b'experimental',
920 920 b'evolution.bundle-obsmarker:mandatory',
921 921 default=True,
922 922 )
923 923 coreconfigitem(
924 924 b'experimental',
925 925 b'log.topo',
926 926 default=False,
927 927 )
928 928 coreconfigitem(
929 929 b'experimental',
930 930 b'evolution.report-instabilities',
931 931 default=True,
932 932 )
933 933 coreconfigitem(
934 934 b'experimental',
935 935 b'evolution.track-operation',
936 936 default=True,
937 937 )
938 938 # repo-level config to exclude a revset visibility
939 939 #
940 940 # The target use case is to use `share` to expose different subset of the same
941 941 # repository, especially server side. See also `server.view`.
942 942 coreconfigitem(
943 943 b'experimental',
944 944 b'extra-filter-revs',
945 945 default=None,
946 946 )
947 947 coreconfigitem(
948 948 b'experimental',
949 949 b'maxdeltachainspan',
950 950 default=-1,
951 951 )
952 952 # tracks files which were undeleted (merge might delete them but we explicitly
953 953 # kept/undeleted them) and creates new filenodes for them
954 954 coreconfigitem(
955 955 b'experimental',
956 956 b'merge-track-salvaged',
957 957 default=False,
958 958 )
959 959 coreconfigitem(
960 960 b'experimental',
961 961 b'mergetempdirprefix',
962 962 default=None,
963 963 )
964 964 coreconfigitem(
965 965 b'experimental',
966 966 b'mmapindexthreshold',
967 967 default=None,
968 968 )
969 969 coreconfigitem(
970 970 b'experimental',
971 971 b'narrow',
972 972 default=False,
973 973 )
974 974 coreconfigitem(
975 975 b'experimental',
976 976 b'nonnormalparanoidcheck',
977 977 default=False,
978 978 )
979 979 coreconfigitem(
980 980 b'experimental',
981 981 b'exportableenviron',
982 982 default=list,
983 983 )
984 984 coreconfigitem(
985 985 b'experimental',
986 986 b'extendedheader.index',
987 987 default=None,
988 988 )
989 989 coreconfigitem(
990 990 b'experimental',
991 991 b'extendedheader.similarity',
992 992 default=False,
993 993 )
994 994 coreconfigitem(
995 995 b'experimental',
996 996 b'graphshorten',
997 997 default=False,
998 998 )
999 999 coreconfigitem(
1000 1000 b'experimental',
1001 1001 b'graphstyle.parent',
1002 1002 default=dynamicdefault,
1003 1003 )
1004 1004 coreconfigitem(
1005 1005 b'experimental',
1006 1006 b'graphstyle.missing',
1007 1007 default=dynamicdefault,
1008 1008 )
1009 1009 coreconfigitem(
1010 1010 b'experimental',
1011 1011 b'graphstyle.grandparent',
1012 1012 default=dynamicdefault,
1013 1013 )
1014 1014 coreconfigitem(
1015 1015 b'experimental',
1016 1016 b'hook-track-tags',
1017 1017 default=False,
1018 1018 )
1019 1019 coreconfigitem(
1020 1020 b'experimental',
1021 1021 b'httppeer.advertise-v2',
1022 1022 default=False,
1023 1023 )
1024 1024 coreconfigitem(
1025 1025 b'experimental',
1026 1026 b'httppeer.v2-encoder-order',
1027 1027 default=None,
1028 1028 )
1029 1029 coreconfigitem(
1030 1030 b'experimental',
1031 1031 b'httppostargs',
1032 1032 default=False,
1033 1033 )
1034 1034 coreconfigitem(b'experimental', b'nointerrupt', default=False)
1035 1035 coreconfigitem(b'experimental', b'nointerrupt-interactiveonly', default=True)
1036 1036
1037 1037 coreconfigitem(
1038 1038 b'experimental',
1039 1039 b'obsmarkers-exchange-debug',
1040 1040 default=False,
1041 1041 )
1042 1042 coreconfigitem(
1043 1043 b'experimental',
1044 1044 b'remotenames',
1045 1045 default=False,
1046 1046 )
1047 1047 coreconfigitem(
1048 1048 b'experimental',
1049 1049 b'removeemptydirs',
1050 1050 default=True,
1051 1051 )
1052 1052 coreconfigitem(
1053 1053 b'experimental',
1054 1054 b'revert.interactive.select-to-keep',
1055 1055 default=False,
1056 1056 )
1057 1057 coreconfigitem(
1058 1058 b'experimental',
1059 1059 b'revisions.prefixhexnode',
1060 1060 default=False,
1061 1061 )
1062 1062 coreconfigitem(
1063 1063 b'experimental',
1064 1064 b'revlogv2',
1065 1065 default=None,
1066 1066 )
1067 1067 coreconfigitem(
1068 1068 b'experimental',
1069 1069 b'revisions.disambiguatewithin',
1070 1070 default=None,
1071 1071 )
1072 1072 coreconfigitem(
1073 1073 b'experimental',
1074 1074 b'rust.index',
1075 1075 default=False,
1076 1076 )
1077 1077 coreconfigitem(
1078 1078 b'experimental',
1079 1079 b'server.filesdata.recommended-batch-size',
1080 1080 default=50000,
1081 1081 )
1082 1082 coreconfigitem(
1083 1083 b'experimental',
1084 1084 b'server.manifestdata.recommended-batch-size',
1085 1085 default=100000,
1086 1086 )
1087 1087 coreconfigitem(
1088 1088 b'experimental',
1089 1089 b'server.stream-narrow-clones',
1090 1090 default=False,
1091 1091 )
1092 1092 coreconfigitem(
1093 1093 b'experimental',
1094 1094 b'sharesafe-auto-downgrade-shares',
1095 1095 default=False,
1096 1096 )
1097 1097 coreconfigitem(
1098 1098 b'experimental',
1099 1099 b'sharesafe-auto-upgrade-shares',
1100 1100 default=False,
1101 1101 )
1102 1102 coreconfigitem(
1103 1103 b'experimental',
1104 1104 b'sharesafe-auto-upgrade-fail-error',
1105 1105 default=False,
1106 1106 )
1107 1107 coreconfigitem(
1108 1108 b'experimental',
1109 1109 b'sharesafe-warn-outdated-shares',
1110 1110 default=True,
1111 1111 )
1112 1112 coreconfigitem(
1113 1113 b'experimental',
1114 1114 b'single-head-per-branch',
1115 1115 default=False,
1116 1116 )
1117 1117 coreconfigitem(
1118 1118 b'experimental',
1119 1119 b'single-head-per-branch:account-closed-heads',
1120 1120 default=False,
1121 1121 )
1122 1122 coreconfigitem(
1123 1123 b'experimental',
1124 1124 b'single-head-per-branch:public-changes-only',
1125 1125 default=False,
1126 1126 )
1127 1127 coreconfigitem(
1128 1128 b'experimental',
1129 1129 b'sshserver.support-v2',
1130 1130 default=False,
1131 1131 )
1132 1132 coreconfigitem(
1133 1133 b'experimental',
1134 1134 b'sparse-read',
1135 1135 default=False,
1136 1136 )
1137 1137 coreconfigitem(
1138 1138 b'experimental',
1139 1139 b'sparse-read.density-threshold',
1140 1140 default=0.50,
1141 1141 )
1142 1142 coreconfigitem(
1143 1143 b'experimental',
1144 1144 b'sparse-read.min-gap-size',
1145 1145 default=b'65K',
1146 1146 )
1147 1147 coreconfigitem(
1148 1148 b'experimental',
1149 1149 b'treemanifest',
1150 1150 default=False,
1151 1151 )
1152 1152 coreconfigitem(
1153 1153 b'experimental',
1154 1154 b'update.atomic-file',
1155 1155 default=False,
1156 1156 )
1157 1157 coreconfigitem(
1158 1158 b'experimental',
1159 1159 b'sshpeer.advertise-v2',
1160 1160 default=False,
1161 1161 )
1162 1162 coreconfigitem(
1163 1163 b'experimental',
1164 1164 b'web.apiserver',
1165 1165 default=False,
1166 1166 )
1167 1167 coreconfigitem(
1168 1168 b'experimental',
1169 1169 b'web.api.http-v2',
1170 1170 default=False,
1171 1171 )
1172 1172 coreconfigitem(
1173 1173 b'experimental',
1174 1174 b'web.api.debugreflect',
1175 1175 default=False,
1176 1176 )
1177 1177 coreconfigitem(
1178 1178 b'experimental',
1179 1179 b'worker.wdir-get-thread-safe',
1180 1180 default=False,
1181 1181 )
1182 1182 coreconfigitem(
1183 1183 b'experimental',
1184 1184 b'worker.repository-upgrade',
1185 1185 default=False,
1186 1186 )
1187 1187 coreconfigitem(
1188 1188 b'experimental',
1189 1189 b'xdiff',
1190 1190 default=False,
1191 1191 )
1192 1192 coreconfigitem(
1193 1193 b'extensions',
1194 1194 b'.*',
1195 1195 default=None,
1196 1196 generic=True,
1197 1197 )
1198 1198 coreconfigitem(
1199 1199 b'extdata',
1200 1200 b'.*',
1201 1201 default=None,
1202 1202 generic=True,
1203 1203 )
1204 1204 coreconfigitem(
1205 1205 b'format',
1206 1206 b'bookmarks-in-store',
1207 1207 default=False,
1208 1208 )
1209 1209 coreconfigitem(
1210 1210 b'format',
1211 1211 b'chunkcachesize',
1212 1212 default=None,
1213 1213 experimental=True,
1214 1214 )
1215 1215 coreconfigitem(
1216 1216 b'format',
1217 1217 b'dotencode',
1218 1218 default=True,
1219 1219 )
1220 1220 coreconfigitem(
1221 1221 b'format',
1222 1222 b'generaldelta',
1223 1223 default=False,
1224 1224 experimental=True,
1225 1225 )
1226 1226 coreconfigitem(
1227 1227 b'format',
1228 1228 b'manifestcachesize',
1229 1229 default=None,
1230 1230 experimental=True,
1231 1231 )
1232 1232 coreconfigitem(
1233 1233 b'format',
1234 1234 b'maxchainlen',
1235 1235 default=dynamicdefault,
1236 1236 experimental=True,
1237 1237 )
1238 1238 coreconfigitem(
1239 1239 b'format',
1240 1240 b'obsstore-version',
1241 1241 default=None,
1242 1242 )
1243 1243 coreconfigitem(
1244 1244 b'format',
1245 1245 b'sparse-revlog',
1246 1246 default=True,
1247 1247 )
1248 1248 coreconfigitem(
1249 1249 b'format',
1250 1250 b'revlog-compression',
1251 1251 default=lambda: [b'zlib'],
1252 1252 alias=[(b'experimental', b'format.compression')],
1253 1253 )
1254 1254 coreconfigitem(
1255 1255 b'format',
1256 1256 b'usefncache',
1257 1257 default=True,
1258 1258 )
1259 1259 coreconfigitem(
1260 1260 b'format',
1261 1261 b'usegeneraldelta',
1262 1262 default=True,
1263 1263 )
1264 1264 coreconfigitem(
1265 1265 b'format',
1266 1266 b'usestore',
1267 1267 default=True,
1268 1268 )
1269 # Right now, the only efficient implement of the nodemap logic is in Rust,
1270 #
1271 # The case was discussed that the 5.6 sprint and the following was decided for
1272 # feature that have an optional fast implementation (and are a performance
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
1269 coreconfigitem(
1270 b'format',
1271 b'use-persistent-nodemap',
1272 default=False,
1286 1273 )
1287 1274 coreconfigitem(
1288 1275 b'format',
1289 1276 b'exp-use-copies-side-data-changeset',
1290 1277 default=False,
1291 1278 experimental=True,
1292 1279 )
1293 1280 coreconfigitem(
1294 1281 b'format',
1295 1282 b'exp-use-side-data',
1296 1283 default=False,
1297 1284 experimental=True,
1298 1285 )
1299 1286 coreconfigitem(
1300 1287 b'format',
1301 1288 b'exp-share-safe',
1302 1289 default=False,
1303 1290 experimental=True,
1304 1291 )
1305 1292 coreconfigitem(
1306 1293 b'format',
1307 1294 b'internal-phase',
1308 1295 default=False,
1309 1296 experimental=True,
1310 1297 )
1311 1298 coreconfigitem(
1312 1299 b'fsmonitor',
1313 1300 b'warn_when_unused',
1314 1301 default=True,
1315 1302 )
1316 1303 coreconfigitem(
1317 1304 b'fsmonitor',
1318 1305 b'warn_update_file_count',
1319 1306 default=50000,
1320 1307 )
1321 1308 coreconfigitem(
1322 1309 b'fsmonitor',
1323 1310 b'warn_update_file_count_rust',
1324 1311 default=400000,
1325 1312 )
1326 1313 coreconfigitem(
1327 1314 b'help',
1328 1315 br'hidden-command\..*',
1329 1316 default=False,
1330 1317 generic=True,
1331 1318 )
1332 1319 coreconfigitem(
1333 1320 b'help',
1334 1321 br'hidden-topic\..*',
1335 1322 default=False,
1336 1323 generic=True,
1337 1324 )
1338 1325 coreconfigitem(
1339 1326 b'hooks',
1340 1327 b'.*',
1341 1328 default=dynamicdefault,
1342 1329 generic=True,
1343 1330 )
1344 1331 coreconfigitem(
1345 1332 b'hgweb-paths',
1346 1333 b'.*',
1347 1334 default=list,
1348 1335 generic=True,
1349 1336 )
1350 1337 coreconfigitem(
1351 1338 b'hostfingerprints',
1352 1339 b'.*',
1353 1340 default=list,
1354 1341 generic=True,
1355 1342 )
1356 1343 coreconfigitem(
1357 1344 b'hostsecurity',
1358 1345 b'ciphers',
1359 1346 default=None,
1360 1347 )
1361 1348 coreconfigitem(
1362 1349 b'hostsecurity',
1363 1350 b'minimumprotocol',
1364 1351 default=dynamicdefault,
1365 1352 )
1366 1353 coreconfigitem(
1367 1354 b'hostsecurity',
1368 1355 b'.*:minimumprotocol$',
1369 1356 default=dynamicdefault,
1370 1357 generic=True,
1371 1358 )
1372 1359 coreconfigitem(
1373 1360 b'hostsecurity',
1374 1361 b'.*:ciphers$',
1375 1362 default=dynamicdefault,
1376 1363 generic=True,
1377 1364 )
1378 1365 coreconfigitem(
1379 1366 b'hostsecurity',
1380 1367 b'.*:fingerprints$',
1381 1368 default=list,
1382 1369 generic=True,
1383 1370 )
1384 1371 coreconfigitem(
1385 1372 b'hostsecurity',
1386 1373 b'.*:verifycertsfile$',
1387 1374 default=None,
1388 1375 generic=True,
1389 1376 )
1390 1377
1391 1378 coreconfigitem(
1392 1379 b'http_proxy',
1393 1380 b'always',
1394 1381 default=False,
1395 1382 )
1396 1383 coreconfigitem(
1397 1384 b'http_proxy',
1398 1385 b'host',
1399 1386 default=None,
1400 1387 )
1401 1388 coreconfigitem(
1402 1389 b'http_proxy',
1403 1390 b'no',
1404 1391 default=list,
1405 1392 )
1406 1393 coreconfigitem(
1407 1394 b'http_proxy',
1408 1395 b'passwd',
1409 1396 default=None,
1410 1397 )
1411 1398 coreconfigitem(
1412 1399 b'http_proxy',
1413 1400 b'user',
1414 1401 default=None,
1415 1402 )
1416 1403
1417 1404 coreconfigitem(
1418 1405 b'http',
1419 1406 b'timeout',
1420 1407 default=None,
1421 1408 )
1422 1409
1423 1410 coreconfigitem(
1424 1411 b'logtoprocess',
1425 1412 b'commandexception',
1426 1413 default=None,
1427 1414 )
1428 1415 coreconfigitem(
1429 1416 b'logtoprocess',
1430 1417 b'commandfinish',
1431 1418 default=None,
1432 1419 )
1433 1420 coreconfigitem(
1434 1421 b'logtoprocess',
1435 1422 b'command',
1436 1423 default=None,
1437 1424 )
1438 1425 coreconfigitem(
1439 1426 b'logtoprocess',
1440 1427 b'develwarn',
1441 1428 default=None,
1442 1429 )
1443 1430 coreconfigitem(
1444 1431 b'logtoprocess',
1445 1432 b'uiblocked',
1446 1433 default=None,
1447 1434 )
1448 1435 coreconfigitem(
1449 1436 b'merge',
1450 1437 b'checkunknown',
1451 1438 default=b'abort',
1452 1439 )
1453 1440 coreconfigitem(
1454 1441 b'merge',
1455 1442 b'checkignored',
1456 1443 default=b'abort',
1457 1444 )
1458 1445 coreconfigitem(
1459 1446 b'experimental',
1460 1447 b'merge.checkpathconflicts',
1461 1448 default=False,
1462 1449 )
1463 1450 coreconfigitem(
1464 1451 b'merge',
1465 1452 b'followcopies',
1466 1453 default=True,
1467 1454 )
1468 1455 coreconfigitem(
1469 1456 b'merge',
1470 1457 b'on-failure',
1471 1458 default=b'continue',
1472 1459 )
1473 1460 coreconfigitem(
1474 1461 b'merge',
1475 1462 b'preferancestor',
1476 1463 default=lambda: [b'*'],
1477 1464 experimental=True,
1478 1465 )
1479 1466 coreconfigitem(
1480 1467 b'merge',
1481 1468 b'strict-capability-check',
1482 1469 default=False,
1483 1470 )
1484 1471 coreconfigitem(
1485 1472 b'merge-tools',
1486 1473 b'.*',
1487 1474 default=None,
1488 1475 generic=True,
1489 1476 )
1490 1477 coreconfigitem(
1491 1478 b'merge-tools',
1492 1479 br'.*\.args$',
1493 1480 default=b"$local $base $other",
1494 1481 generic=True,
1495 1482 priority=-1,
1496 1483 )
1497 1484 coreconfigitem(
1498 1485 b'merge-tools',
1499 1486 br'.*\.binary$',
1500 1487 default=False,
1501 1488 generic=True,
1502 1489 priority=-1,
1503 1490 )
1504 1491 coreconfigitem(
1505 1492 b'merge-tools',
1506 1493 br'.*\.check$',
1507 1494 default=list,
1508 1495 generic=True,
1509 1496 priority=-1,
1510 1497 )
1511 1498 coreconfigitem(
1512 1499 b'merge-tools',
1513 1500 br'.*\.checkchanged$',
1514 1501 default=False,
1515 1502 generic=True,
1516 1503 priority=-1,
1517 1504 )
1518 1505 coreconfigitem(
1519 1506 b'merge-tools',
1520 1507 br'.*\.executable$',
1521 1508 default=dynamicdefault,
1522 1509 generic=True,
1523 1510 priority=-1,
1524 1511 )
1525 1512 coreconfigitem(
1526 1513 b'merge-tools',
1527 1514 br'.*\.fixeol$',
1528 1515 default=False,
1529 1516 generic=True,
1530 1517 priority=-1,
1531 1518 )
1532 1519 coreconfigitem(
1533 1520 b'merge-tools',
1534 1521 br'.*\.gui$',
1535 1522 default=False,
1536 1523 generic=True,
1537 1524 priority=-1,
1538 1525 )
1539 1526 coreconfigitem(
1540 1527 b'merge-tools',
1541 1528 br'.*\.mergemarkers$',
1542 1529 default=b'basic',
1543 1530 generic=True,
1544 1531 priority=-1,
1545 1532 )
1546 1533 coreconfigitem(
1547 1534 b'merge-tools',
1548 1535 br'.*\.mergemarkertemplate$',
1549 1536 default=dynamicdefault, # take from command-templates.mergemarker
1550 1537 generic=True,
1551 1538 priority=-1,
1552 1539 )
1553 1540 coreconfigitem(
1554 1541 b'merge-tools',
1555 1542 br'.*\.priority$',
1556 1543 default=0,
1557 1544 generic=True,
1558 1545 priority=-1,
1559 1546 )
1560 1547 coreconfigitem(
1561 1548 b'merge-tools',
1562 1549 br'.*\.premerge$',
1563 1550 default=dynamicdefault,
1564 1551 generic=True,
1565 1552 priority=-1,
1566 1553 )
1567 1554 coreconfigitem(
1568 1555 b'merge-tools',
1569 1556 br'.*\.symlink$',
1570 1557 default=False,
1571 1558 generic=True,
1572 1559 priority=-1,
1573 1560 )
1574 1561 coreconfigitem(
1575 1562 b'pager',
1576 1563 b'attend-.*',
1577 1564 default=dynamicdefault,
1578 1565 generic=True,
1579 1566 )
1580 1567 coreconfigitem(
1581 1568 b'pager',
1582 1569 b'ignore',
1583 1570 default=list,
1584 1571 )
1585 1572 coreconfigitem(
1586 1573 b'pager',
1587 1574 b'pager',
1588 1575 default=dynamicdefault,
1589 1576 )
1590 1577 coreconfigitem(
1591 1578 b'patch',
1592 1579 b'eol',
1593 1580 default=b'strict',
1594 1581 )
1595 1582 coreconfigitem(
1596 1583 b'patch',
1597 1584 b'fuzz',
1598 1585 default=2,
1599 1586 )
1600 1587 coreconfigitem(
1601 1588 b'paths',
1602 1589 b'default',
1603 1590 default=None,
1604 1591 )
1605 1592 coreconfigitem(
1606 1593 b'paths',
1607 1594 b'default-push',
1608 1595 default=None,
1609 1596 )
1610 1597 coreconfigitem(
1611 1598 b'paths',
1612 1599 b'.*',
1613 1600 default=None,
1614 1601 generic=True,
1615 1602 )
1616 1603 coreconfigitem(
1617 1604 b'phases',
1618 1605 b'checksubrepos',
1619 1606 default=b'follow',
1620 1607 )
1621 1608 coreconfigitem(
1622 1609 b'phases',
1623 1610 b'new-commit',
1624 1611 default=b'draft',
1625 1612 )
1626 1613 coreconfigitem(
1627 1614 b'phases',
1628 1615 b'publish',
1629 1616 default=True,
1630 1617 )
1631 1618 coreconfigitem(
1632 1619 b'profiling',
1633 1620 b'enabled',
1634 1621 default=False,
1635 1622 )
1636 1623 coreconfigitem(
1637 1624 b'profiling',
1638 1625 b'format',
1639 1626 default=b'text',
1640 1627 )
1641 1628 coreconfigitem(
1642 1629 b'profiling',
1643 1630 b'freq',
1644 1631 default=1000,
1645 1632 )
1646 1633 coreconfigitem(
1647 1634 b'profiling',
1648 1635 b'limit',
1649 1636 default=30,
1650 1637 )
1651 1638 coreconfigitem(
1652 1639 b'profiling',
1653 1640 b'nested',
1654 1641 default=0,
1655 1642 )
1656 1643 coreconfigitem(
1657 1644 b'profiling',
1658 1645 b'output',
1659 1646 default=None,
1660 1647 )
1661 1648 coreconfigitem(
1662 1649 b'profiling',
1663 1650 b'showmax',
1664 1651 default=0.999,
1665 1652 )
1666 1653 coreconfigitem(
1667 1654 b'profiling',
1668 1655 b'showmin',
1669 1656 default=dynamicdefault,
1670 1657 )
1671 1658 coreconfigitem(
1672 1659 b'profiling',
1673 1660 b'showtime',
1674 1661 default=True,
1675 1662 )
1676 1663 coreconfigitem(
1677 1664 b'profiling',
1678 1665 b'sort',
1679 1666 default=b'inlinetime',
1680 1667 )
1681 1668 coreconfigitem(
1682 1669 b'profiling',
1683 1670 b'statformat',
1684 1671 default=b'hotpath',
1685 1672 )
1686 1673 coreconfigitem(
1687 1674 b'profiling',
1688 1675 b'time-track',
1689 1676 default=dynamicdefault,
1690 1677 )
1691 1678 coreconfigitem(
1692 1679 b'profiling',
1693 1680 b'type',
1694 1681 default=b'stat',
1695 1682 )
1696 1683 coreconfigitem(
1697 1684 b'progress',
1698 1685 b'assume-tty',
1699 1686 default=False,
1700 1687 )
1701 1688 coreconfigitem(
1702 1689 b'progress',
1703 1690 b'changedelay',
1704 1691 default=1,
1705 1692 )
1706 1693 coreconfigitem(
1707 1694 b'progress',
1708 1695 b'clear-complete',
1709 1696 default=True,
1710 1697 )
1711 1698 coreconfigitem(
1712 1699 b'progress',
1713 1700 b'debug',
1714 1701 default=False,
1715 1702 )
1716 1703 coreconfigitem(
1717 1704 b'progress',
1718 1705 b'delay',
1719 1706 default=3,
1720 1707 )
1721 1708 coreconfigitem(
1722 1709 b'progress',
1723 1710 b'disable',
1724 1711 default=False,
1725 1712 )
1726 1713 coreconfigitem(
1727 1714 b'progress',
1728 1715 b'estimateinterval',
1729 1716 default=60.0,
1730 1717 )
1731 1718 coreconfigitem(
1732 1719 b'progress',
1733 1720 b'format',
1734 1721 default=lambda: [b'topic', b'bar', b'number', b'estimate'],
1735 1722 )
1736 1723 coreconfigitem(
1737 1724 b'progress',
1738 1725 b'refresh',
1739 1726 default=0.1,
1740 1727 )
1741 1728 coreconfigitem(
1742 1729 b'progress',
1743 1730 b'width',
1744 1731 default=dynamicdefault,
1745 1732 )
1746 1733 coreconfigitem(
1747 1734 b'pull',
1748 1735 b'confirm',
1749 1736 default=False,
1750 1737 )
1751 1738 coreconfigitem(
1752 1739 b'push',
1753 1740 b'pushvars.server',
1754 1741 default=False,
1755 1742 )
1756 1743 coreconfigitem(
1757 1744 b'rewrite',
1758 1745 b'backup-bundle',
1759 1746 default=True,
1760 1747 alias=[(b'ui', b'history-editing-backup')],
1761 1748 )
1762 1749 coreconfigitem(
1763 1750 b'rewrite',
1764 1751 b'update-timestamp',
1765 1752 default=False,
1766 1753 )
1767 1754 coreconfigitem(
1768 1755 b'rewrite',
1769 1756 b'empty-successor',
1770 1757 default=b'skip',
1771 1758 experimental=True,
1772 1759 )
1773 1760 coreconfigitem(
1774 1761 b'storage',
1775 1762 b'new-repo-backend',
1776 1763 default=b'revlogv1',
1777 1764 experimental=True,
1778 1765 )
1779 1766 coreconfigitem(
1780 1767 b'storage',
1781 1768 b'revlog.optimize-delta-parent-choice',
1782 1769 default=True,
1783 1770 alias=[(b'format', b'aggressivemergedeltas')],
1784 1771 )
1785 1772 # experimental as long as rust is experimental (or a C version is implemented)
1786 1773 coreconfigitem(
1787 1774 b'storage',
1788 1775 b'revlog.persistent-nodemap.mmap',
1789 1776 default=True,
1790 experimental=True,
1791 1777 )
1792 1778 # experimental as long as format.use-persistent-nodemap is.
1793 1779 coreconfigitem(
1794 1780 b'storage',
1795 1781 b'revlog.persistent-nodemap.slow-path',
1796 1782 default=b"abort",
1797 experimental=True,
1798 1783 )
1799 1784
1800 1785 coreconfigitem(
1801 1786 b'storage',
1802 1787 b'revlog.reuse-external-delta',
1803 1788 default=True,
1804 1789 )
1805 1790 coreconfigitem(
1806 1791 b'storage',
1807 1792 b'revlog.reuse-external-delta-parent',
1808 1793 default=None,
1809 1794 )
1810 1795 coreconfigitem(
1811 1796 b'storage',
1812 1797 b'revlog.zlib.level',
1813 1798 default=None,
1814 1799 )
1815 1800 coreconfigitem(
1816 1801 b'storage',
1817 1802 b'revlog.zstd.level',
1818 1803 default=None,
1819 1804 )
1820 1805 coreconfigitem(
1821 1806 b'server',
1822 1807 b'bookmarks-pushkey-compat',
1823 1808 default=True,
1824 1809 )
1825 1810 coreconfigitem(
1826 1811 b'server',
1827 1812 b'bundle1',
1828 1813 default=True,
1829 1814 )
1830 1815 coreconfigitem(
1831 1816 b'server',
1832 1817 b'bundle1gd',
1833 1818 default=None,
1834 1819 )
1835 1820 coreconfigitem(
1836 1821 b'server',
1837 1822 b'bundle1.pull',
1838 1823 default=None,
1839 1824 )
1840 1825 coreconfigitem(
1841 1826 b'server',
1842 1827 b'bundle1gd.pull',
1843 1828 default=None,
1844 1829 )
1845 1830 coreconfigitem(
1846 1831 b'server',
1847 1832 b'bundle1.push',
1848 1833 default=None,
1849 1834 )
1850 1835 coreconfigitem(
1851 1836 b'server',
1852 1837 b'bundle1gd.push',
1853 1838 default=None,
1854 1839 )
1855 1840 coreconfigitem(
1856 1841 b'server',
1857 1842 b'bundle2.stream',
1858 1843 default=True,
1859 1844 alias=[(b'experimental', b'bundle2.stream')],
1860 1845 )
1861 1846 coreconfigitem(
1862 1847 b'server',
1863 1848 b'compressionengines',
1864 1849 default=list,
1865 1850 )
1866 1851 coreconfigitem(
1867 1852 b'server',
1868 1853 b'concurrent-push-mode',
1869 1854 default=b'check-related',
1870 1855 )
1871 1856 coreconfigitem(
1872 1857 b'server',
1873 1858 b'disablefullbundle',
1874 1859 default=False,
1875 1860 )
1876 1861 coreconfigitem(
1877 1862 b'server',
1878 1863 b'maxhttpheaderlen',
1879 1864 default=1024,
1880 1865 )
1881 1866 coreconfigitem(
1882 1867 b'server',
1883 1868 b'pullbundle',
1884 1869 default=False,
1885 1870 )
1886 1871 coreconfigitem(
1887 1872 b'server',
1888 1873 b'preferuncompressed',
1889 1874 default=False,
1890 1875 )
1891 1876 coreconfigitem(
1892 1877 b'server',
1893 1878 b'streamunbundle',
1894 1879 default=False,
1895 1880 )
1896 1881 coreconfigitem(
1897 1882 b'server',
1898 1883 b'uncompressed',
1899 1884 default=True,
1900 1885 )
1901 1886 coreconfigitem(
1902 1887 b'server',
1903 1888 b'uncompressedallowsecret',
1904 1889 default=False,
1905 1890 )
1906 1891 coreconfigitem(
1907 1892 b'server',
1908 1893 b'view',
1909 1894 default=b'served',
1910 1895 )
1911 1896 coreconfigitem(
1912 1897 b'server',
1913 1898 b'validate',
1914 1899 default=False,
1915 1900 )
1916 1901 coreconfigitem(
1917 1902 b'server',
1918 1903 b'zliblevel',
1919 1904 default=-1,
1920 1905 )
1921 1906 coreconfigitem(
1922 1907 b'server',
1923 1908 b'zstdlevel',
1924 1909 default=3,
1925 1910 )
1926 1911 coreconfigitem(
1927 1912 b'share',
1928 1913 b'pool',
1929 1914 default=None,
1930 1915 )
1931 1916 coreconfigitem(
1932 1917 b'share',
1933 1918 b'poolnaming',
1934 1919 default=b'identity',
1935 1920 )
1936 1921 coreconfigitem(
1937 1922 b'shelve',
1938 1923 b'maxbackups',
1939 1924 default=10,
1940 1925 )
1941 1926 coreconfigitem(
1942 1927 b'smtp',
1943 1928 b'host',
1944 1929 default=None,
1945 1930 )
1946 1931 coreconfigitem(
1947 1932 b'smtp',
1948 1933 b'local_hostname',
1949 1934 default=None,
1950 1935 )
1951 1936 coreconfigitem(
1952 1937 b'smtp',
1953 1938 b'password',
1954 1939 default=None,
1955 1940 )
1956 1941 coreconfigitem(
1957 1942 b'smtp',
1958 1943 b'port',
1959 1944 default=dynamicdefault,
1960 1945 )
1961 1946 coreconfigitem(
1962 1947 b'smtp',
1963 1948 b'tls',
1964 1949 default=b'none',
1965 1950 )
1966 1951 coreconfigitem(
1967 1952 b'smtp',
1968 1953 b'username',
1969 1954 default=None,
1970 1955 )
1971 1956 coreconfigitem(
1972 1957 b'sparse',
1973 1958 b'missingwarning',
1974 1959 default=True,
1975 1960 experimental=True,
1976 1961 )
1977 1962 coreconfigitem(
1978 1963 b'subrepos',
1979 1964 b'allowed',
1980 1965 default=dynamicdefault, # to make backporting simpler
1981 1966 )
1982 1967 coreconfigitem(
1983 1968 b'subrepos',
1984 1969 b'hg:allowed',
1985 1970 default=dynamicdefault,
1986 1971 )
1987 1972 coreconfigitem(
1988 1973 b'subrepos',
1989 1974 b'git:allowed',
1990 1975 default=dynamicdefault,
1991 1976 )
1992 1977 coreconfigitem(
1993 1978 b'subrepos',
1994 1979 b'svn:allowed',
1995 1980 default=dynamicdefault,
1996 1981 )
1997 1982 coreconfigitem(
1998 1983 b'templates',
1999 1984 b'.*',
2000 1985 default=None,
2001 1986 generic=True,
2002 1987 )
2003 1988 coreconfigitem(
2004 1989 b'templateconfig',
2005 1990 b'.*',
2006 1991 default=dynamicdefault,
2007 1992 generic=True,
2008 1993 )
2009 1994 coreconfigitem(
2010 1995 b'trusted',
2011 1996 b'groups',
2012 1997 default=list,
2013 1998 )
2014 1999 coreconfigitem(
2015 2000 b'trusted',
2016 2001 b'users',
2017 2002 default=list,
2018 2003 )
2019 2004 coreconfigitem(
2020 2005 b'ui',
2021 2006 b'_usedassubrepo',
2022 2007 default=False,
2023 2008 )
2024 2009 coreconfigitem(
2025 2010 b'ui',
2026 2011 b'allowemptycommit',
2027 2012 default=False,
2028 2013 )
2029 2014 coreconfigitem(
2030 2015 b'ui',
2031 2016 b'archivemeta',
2032 2017 default=True,
2033 2018 )
2034 2019 coreconfigitem(
2035 2020 b'ui',
2036 2021 b'askusername',
2037 2022 default=False,
2038 2023 )
2039 2024 coreconfigitem(
2040 2025 b'ui',
2041 2026 b'available-memory',
2042 2027 default=None,
2043 2028 )
2044 2029
2045 2030 coreconfigitem(
2046 2031 b'ui',
2047 2032 b'clonebundlefallback',
2048 2033 default=False,
2049 2034 )
2050 2035 coreconfigitem(
2051 2036 b'ui',
2052 2037 b'clonebundleprefers',
2053 2038 default=list,
2054 2039 )
2055 2040 coreconfigitem(
2056 2041 b'ui',
2057 2042 b'clonebundles',
2058 2043 default=True,
2059 2044 )
2060 2045 coreconfigitem(
2061 2046 b'ui',
2062 2047 b'color',
2063 2048 default=b'auto',
2064 2049 )
2065 2050 coreconfigitem(
2066 2051 b'ui',
2067 2052 b'commitsubrepos',
2068 2053 default=False,
2069 2054 )
2070 2055 coreconfigitem(
2071 2056 b'ui',
2072 2057 b'debug',
2073 2058 default=False,
2074 2059 )
2075 2060 coreconfigitem(
2076 2061 b'ui',
2077 2062 b'debugger',
2078 2063 default=None,
2079 2064 )
2080 2065 coreconfigitem(
2081 2066 b'ui',
2082 2067 b'editor',
2083 2068 default=dynamicdefault,
2084 2069 )
2085 2070 coreconfigitem(
2086 2071 b'ui',
2087 2072 b'detailed-exit-code',
2088 2073 default=False,
2089 2074 experimental=True,
2090 2075 )
2091 2076 coreconfigitem(
2092 2077 b'ui',
2093 2078 b'fallbackencoding',
2094 2079 default=None,
2095 2080 )
2096 2081 coreconfigitem(
2097 2082 b'ui',
2098 2083 b'forcecwd',
2099 2084 default=None,
2100 2085 )
2101 2086 coreconfigitem(
2102 2087 b'ui',
2103 2088 b'forcemerge',
2104 2089 default=None,
2105 2090 )
2106 2091 coreconfigitem(
2107 2092 b'ui',
2108 2093 b'formatdebug',
2109 2094 default=False,
2110 2095 )
2111 2096 coreconfigitem(
2112 2097 b'ui',
2113 2098 b'formatjson',
2114 2099 default=False,
2115 2100 )
2116 2101 coreconfigitem(
2117 2102 b'ui',
2118 2103 b'formatted',
2119 2104 default=None,
2120 2105 )
2121 2106 coreconfigitem(
2122 2107 b'ui',
2123 2108 b'interactive',
2124 2109 default=None,
2125 2110 )
2126 2111 coreconfigitem(
2127 2112 b'ui',
2128 2113 b'interface',
2129 2114 default=None,
2130 2115 )
2131 2116 coreconfigitem(
2132 2117 b'ui',
2133 2118 b'interface.chunkselector',
2134 2119 default=None,
2135 2120 )
2136 2121 coreconfigitem(
2137 2122 b'ui',
2138 2123 b'large-file-limit',
2139 2124 default=10000000,
2140 2125 )
2141 2126 coreconfigitem(
2142 2127 b'ui',
2143 2128 b'logblockedtimes',
2144 2129 default=False,
2145 2130 )
2146 2131 coreconfigitem(
2147 2132 b'ui',
2148 2133 b'merge',
2149 2134 default=None,
2150 2135 )
2151 2136 coreconfigitem(
2152 2137 b'ui',
2153 2138 b'mergemarkers',
2154 2139 default=b'basic',
2155 2140 )
2156 2141 coreconfigitem(
2157 2142 b'ui',
2158 2143 b'message-output',
2159 2144 default=b'stdio',
2160 2145 )
2161 2146 coreconfigitem(
2162 2147 b'ui',
2163 2148 b'nontty',
2164 2149 default=False,
2165 2150 )
2166 2151 coreconfigitem(
2167 2152 b'ui',
2168 2153 b'origbackuppath',
2169 2154 default=None,
2170 2155 )
2171 2156 coreconfigitem(
2172 2157 b'ui',
2173 2158 b'paginate',
2174 2159 default=True,
2175 2160 )
2176 2161 coreconfigitem(
2177 2162 b'ui',
2178 2163 b'patch',
2179 2164 default=None,
2180 2165 )
2181 2166 coreconfigitem(
2182 2167 b'ui',
2183 2168 b'portablefilenames',
2184 2169 default=b'warn',
2185 2170 )
2186 2171 coreconfigitem(
2187 2172 b'ui',
2188 2173 b'promptecho',
2189 2174 default=False,
2190 2175 )
2191 2176 coreconfigitem(
2192 2177 b'ui',
2193 2178 b'quiet',
2194 2179 default=False,
2195 2180 )
2196 2181 coreconfigitem(
2197 2182 b'ui',
2198 2183 b'quietbookmarkmove',
2199 2184 default=False,
2200 2185 )
2201 2186 coreconfigitem(
2202 2187 b'ui',
2203 2188 b'relative-paths',
2204 2189 default=b'legacy',
2205 2190 )
2206 2191 coreconfigitem(
2207 2192 b'ui',
2208 2193 b'remotecmd',
2209 2194 default=b'hg',
2210 2195 )
2211 2196 coreconfigitem(
2212 2197 b'ui',
2213 2198 b'report_untrusted',
2214 2199 default=True,
2215 2200 )
2216 2201 coreconfigitem(
2217 2202 b'ui',
2218 2203 b'rollback',
2219 2204 default=True,
2220 2205 )
2221 2206 coreconfigitem(
2222 2207 b'ui',
2223 2208 b'signal-safe-lock',
2224 2209 default=True,
2225 2210 )
2226 2211 coreconfigitem(
2227 2212 b'ui',
2228 2213 b'slash',
2229 2214 default=False,
2230 2215 )
2231 2216 coreconfigitem(
2232 2217 b'ui',
2233 2218 b'ssh',
2234 2219 default=b'ssh',
2235 2220 )
2236 2221 coreconfigitem(
2237 2222 b'ui',
2238 2223 b'ssherrorhint',
2239 2224 default=None,
2240 2225 )
2241 2226 coreconfigitem(
2242 2227 b'ui',
2243 2228 b'statuscopies',
2244 2229 default=False,
2245 2230 )
2246 2231 coreconfigitem(
2247 2232 b'ui',
2248 2233 b'strict',
2249 2234 default=False,
2250 2235 )
2251 2236 coreconfigitem(
2252 2237 b'ui',
2253 2238 b'style',
2254 2239 default=b'',
2255 2240 )
2256 2241 coreconfigitem(
2257 2242 b'ui',
2258 2243 b'supportcontact',
2259 2244 default=None,
2260 2245 )
2261 2246 coreconfigitem(
2262 2247 b'ui',
2263 2248 b'textwidth',
2264 2249 default=78,
2265 2250 )
2266 2251 coreconfigitem(
2267 2252 b'ui',
2268 2253 b'timeout',
2269 2254 default=b'600',
2270 2255 )
2271 2256 coreconfigitem(
2272 2257 b'ui',
2273 2258 b'timeout.warn',
2274 2259 default=0,
2275 2260 )
2276 2261 coreconfigitem(
2277 2262 b'ui',
2278 2263 b'timestamp-output',
2279 2264 default=False,
2280 2265 )
2281 2266 coreconfigitem(
2282 2267 b'ui',
2283 2268 b'traceback',
2284 2269 default=False,
2285 2270 )
2286 2271 coreconfigitem(
2287 2272 b'ui',
2288 2273 b'tweakdefaults',
2289 2274 default=False,
2290 2275 )
2291 2276 coreconfigitem(b'ui', b'username', alias=[(b'ui', b'user')])
2292 2277 coreconfigitem(
2293 2278 b'ui',
2294 2279 b'verbose',
2295 2280 default=False,
2296 2281 )
2297 2282 coreconfigitem(
2298 2283 b'verify',
2299 2284 b'skipflags',
2300 2285 default=None,
2301 2286 )
2302 2287 coreconfigitem(
2303 2288 b'web',
2304 2289 b'allowbz2',
2305 2290 default=False,
2306 2291 )
2307 2292 coreconfigitem(
2308 2293 b'web',
2309 2294 b'allowgz',
2310 2295 default=False,
2311 2296 )
2312 2297 coreconfigitem(
2313 2298 b'web',
2314 2299 b'allow-pull',
2315 2300 alias=[(b'web', b'allowpull')],
2316 2301 default=True,
2317 2302 )
2318 2303 coreconfigitem(
2319 2304 b'web',
2320 2305 b'allow-push',
2321 2306 alias=[(b'web', b'allow_push')],
2322 2307 default=list,
2323 2308 )
2324 2309 coreconfigitem(
2325 2310 b'web',
2326 2311 b'allowzip',
2327 2312 default=False,
2328 2313 )
2329 2314 coreconfigitem(
2330 2315 b'web',
2331 2316 b'archivesubrepos',
2332 2317 default=False,
2333 2318 )
2334 2319 coreconfigitem(
2335 2320 b'web',
2336 2321 b'cache',
2337 2322 default=True,
2338 2323 )
2339 2324 coreconfigitem(
2340 2325 b'web',
2341 2326 b'comparisoncontext',
2342 2327 default=5,
2343 2328 )
2344 2329 coreconfigitem(
2345 2330 b'web',
2346 2331 b'contact',
2347 2332 default=None,
2348 2333 )
2349 2334 coreconfigitem(
2350 2335 b'web',
2351 2336 b'deny_push',
2352 2337 default=list,
2353 2338 )
2354 2339 coreconfigitem(
2355 2340 b'web',
2356 2341 b'guessmime',
2357 2342 default=False,
2358 2343 )
2359 2344 coreconfigitem(
2360 2345 b'web',
2361 2346 b'hidden',
2362 2347 default=False,
2363 2348 )
2364 2349 coreconfigitem(
2365 2350 b'web',
2366 2351 b'labels',
2367 2352 default=list,
2368 2353 )
2369 2354 coreconfigitem(
2370 2355 b'web',
2371 2356 b'logoimg',
2372 2357 default=b'hglogo.png',
2373 2358 )
2374 2359 coreconfigitem(
2375 2360 b'web',
2376 2361 b'logourl',
2377 2362 default=b'https://mercurial-scm.org/',
2378 2363 )
2379 2364 coreconfigitem(
2380 2365 b'web',
2381 2366 b'accesslog',
2382 2367 default=b'-',
2383 2368 )
2384 2369 coreconfigitem(
2385 2370 b'web',
2386 2371 b'address',
2387 2372 default=b'',
2388 2373 )
2389 2374 coreconfigitem(
2390 2375 b'web',
2391 2376 b'allow-archive',
2392 2377 alias=[(b'web', b'allow_archive')],
2393 2378 default=list,
2394 2379 )
2395 2380 coreconfigitem(
2396 2381 b'web',
2397 2382 b'allow_read',
2398 2383 default=list,
2399 2384 )
2400 2385 coreconfigitem(
2401 2386 b'web',
2402 2387 b'baseurl',
2403 2388 default=None,
2404 2389 )
2405 2390 coreconfigitem(
2406 2391 b'web',
2407 2392 b'cacerts',
2408 2393 default=None,
2409 2394 )
2410 2395 coreconfigitem(
2411 2396 b'web',
2412 2397 b'certificate',
2413 2398 default=None,
2414 2399 )
2415 2400 coreconfigitem(
2416 2401 b'web',
2417 2402 b'collapse',
2418 2403 default=False,
2419 2404 )
2420 2405 coreconfigitem(
2421 2406 b'web',
2422 2407 b'csp',
2423 2408 default=None,
2424 2409 )
2425 2410 coreconfigitem(
2426 2411 b'web',
2427 2412 b'deny_read',
2428 2413 default=list,
2429 2414 )
2430 2415 coreconfigitem(
2431 2416 b'web',
2432 2417 b'descend',
2433 2418 default=True,
2434 2419 )
2435 2420 coreconfigitem(
2436 2421 b'web',
2437 2422 b'description',
2438 2423 default=b"",
2439 2424 )
2440 2425 coreconfigitem(
2441 2426 b'web',
2442 2427 b'encoding',
2443 2428 default=lambda: encoding.encoding,
2444 2429 )
2445 2430 coreconfigitem(
2446 2431 b'web',
2447 2432 b'errorlog',
2448 2433 default=b'-',
2449 2434 )
2450 2435 coreconfigitem(
2451 2436 b'web',
2452 2437 b'ipv6',
2453 2438 default=False,
2454 2439 )
2455 2440 coreconfigitem(
2456 2441 b'web',
2457 2442 b'maxchanges',
2458 2443 default=10,
2459 2444 )
2460 2445 coreconfigitem(
2461 2446 b'web',
2462 2447 b'maxfiles',
2463 2448 default=10,
2464 2449 )
2465 2450 coreconfigitem(
2466 2451 b'web',
2467 2452 b'maxshortchanges',
2468 2453 default=60,
2469 2454 )
2470 2455 coreconfigitem(
2471 2456 b'web',
2472 2457 b'motd',
2473 2458 default=b'',
2474 2459 )
2475 2460 coreconfigitem(
2476 2461 b'web',
2477 2462 b'name',
2478 2463 default=dynamicdefault,
2479 2464 )
2480 2465 coreconfigitem(
2481 2466 b'web',
2482 2467 b'port',
2483 2468 default=8000,
2484 2469 )
2485 2470 coreconfigitem(
2486 2471 b'web',
2487 2472 b'prefix',
2488 2473 default=b'',
2489 2474 )
2490 2475 coreconfigitem(
2491 2476 b'web',
2492 2477 b'push_ssl',
2493 2478 default=True,
2494 2479 )
2495 2480 coreconfigitem(
2496 2481 b'web',
2497 2482 b'refreshinterval',
2498 2483 default=20,
2499 2484 )
2500 2485 coreconfigitem(
2501 2486 b'web',
2502 2487 b'server-header',
2503 2488 default=None,
2504 2489 )
2505 2490 coreconfigitem(
2506 2491 b'web',
2507 2492 b'static',
2508 2493 default=None,
2509 2494 )
2510 2495 coreconfigitem(
2511 2496 b'web',
2512 2497 b'staticurl',
2513 2498 default=None,
2514 2499 )
2515 2500 coreconfigitem(
2516 2501 b'web',
2517 2502 b'stripes',
2518 2503 default=1,
2519 2504 )
2520 2505 coreconfigitem(
2521 2506 b'web',
2522 2507 b'style',
2523 2508 default=b'paper',
2524 2509 )
2525 2510 coreconfigitem(
2526 2511 b'web',
2527 2512 b'templates',
2528 2513 default=None,
2529 2514 )
2530 2515 coreconfigitem(
2531 2516 b'web',
2532 2517 b'view',
2533 2518 default=b'served',
2534 2519 experimental=True,
2535 2520 )
2536 2521 coreconfigitem(
2537 2522 b'worker',
2538 2523 b'backgroundclose',
2539 2524 default=dynamicdefault,
2540 2525 )
2541 2526 # Windows defaults to a limit of 512 open files. A buffer of 128
2542 2527 # should give us enough headway.
2543 2528 coreconfigitem(
2544 2529 b'worker',
2545 2530 b'backgroundclosemaxqueue',
2546 2531 default=384,
2547 2532 )
2548 2533 coreconfigitem(
2549 2534 b'worker',
2550 2535 b'backgroundcloseminfilecount',
2551 2536 default=2048,
2552 2537 )
2553 2538 coreconfigitem(
2554 2539 b'worker',
2555 2540 b'backgroundclosethreadcount',
2556 2541 default=4,
2557 2542 )
2558 2543 coreconfigitem(
2559 2544 b'worker',
2560 2545 b'enabled',
2561 2546 default=True,
2562 2547 )
2563 2548 coreconfigitem(
2564 2549 b'worker',
2565 2550 b'numcpus',
2566 2551 default=None,
2567 2552 )
2568 2553
2569 2554 # Rebase related configuration moved to core because other extension are doing
2570 2555 # strange things. For example, shelve import the extensions to reuse some bit
2571 2556 # without formally loading it.
2572 2557 coreconfigitem(
2573 2558 b'commands',
2574 2559 b'rebase.requiredest',
2575 2560 default=False,
2576 2561 )
2577 2562 coreconfigitem(
2578 2563 b'experimental',
2579 2564 b'rebaseskipobsolete',
2580 2565 default=True,
2581 2566 )
2582 2567 coreconfigitem(
2583 2568 b'rebase',
2584 2569 b'singletransaction',
2585 2570 default=False,
2586 2571 )
2587 2572 coreconfigitem(
2588 2573 b'rebase',
2589 2574 b'experimental.inmemory',
2590 2575 default=False,
2591 2576 )
General Comments 0
You need to be logged in to leave comments. Login now