Mercurial > hg-stable
comparison mercurial/configitems.py @ 45790:40411ad2f5d2
config: rename ui.mergemarkertemplate to command-templates.mergemarker
Differential Revision: https://phab.mercurial-scm.org/D9247
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 23 Oct 2020 15:59:32 -0700 |
parents | 1f7c077e0640 |
children | 5effb1992c17 |
comparison
equal
deleted
inserted
replaced
45789:1f7c077e0640 | 45790:40411ad2f5d2 |
---|---|
230 alias=[(b'ui', b'graphnodetemplate')], | 230 alias=[(b'ui', b'graphnodetemplate')], |
231 ) | 231 ) |
232 coreconfigitem( | 232 coreconfigitem( |
233 b'command-templates', b'log', default=None, alias=[(b'ui', b'logtemplate')], | 233 b'command-templates', b'log', default=None, alias=[(b'ui', b'logtemplate')], |
234 ) | 234 ) |
235 _registerdiffopts(section=b'commands', configprefix=b'commit.interactive.') | 235 coreconfigitem( |
236 coreconfigitem( | 236 b'command-templates', |
237 b'commands', b'commit.post-status', default=False, | 237 b'mergemarker', |
238 ) | |
239 coreconfigitem( | |
240 b'commands', b'grep.all-files', default=False, experimental=True, | |
241 ) | |
242 coreconfigitem( | |
243 b'commands', b'merge.require-rev', default=False, | |
244 ) | |
245 coreconfigitem( | |
246 b'commands', b'push.require-revs', default=False, | |
247 ) | |
248 coreconfigitem( | |
249 b'commands', b'resolve.confirm', default=False, | |
250 ) | |
251 coreconfigitem( | |
252 b'commands', b'resolve.explicit-re-merge', default=False, | |
253 ) | |
254 coreconfigitem( | |
255 b'commands', b'resolve.mark-check', default=b'none', | |
256 ) | |
257 _registerdiffopts(section=b'commands', configprefix=b'revert.interactive.') | |
258 coreconfigitem( | |
259 b'commands', b'show.aliasprefix', default=list, | |
260 ) | |
261 coreconfigitem( | |
262 b'commands', b'status.relative', default=False, | |
263 ) | |
264 coreconfigitem( | |
265 b'commands', b'status.skipstates', default=[], experimental=True, | |
266 ) | |
267 coreconfigitem( | |
268 b'commands', b'status.terse', default=b'', | |
269 ) | |
270 coreconfigitem( | |
271 b'commands', b'status.verbose', default=False, | |
272 ) | |
273 coreconfigitem( | |
274 b'commands', b'update.check', default=None, | |
275 ) | |
276 coreconfigitem( | |
277 b'commands', b'update.requiredest', default=False, | |
278 ) | |
279 coreconfigitem( | |
280 b'committemplate', b'.*', default=None, generic=True, | |
281 ) | |
282 coreconfigitem( | |
283 b'convert', b'bzr.saverev', default=True, | |
284 ) | |
285 coreconfigitem( | |
286 b'convert', b'cvsps.cache', default=True, | |
287 ) | |
288 coreconfigitem( | |
289 b'convert', b'cvsps.fuzz', default=60, | |
290 ) | |
291 coreconfigitem( | |
292 b'convert', b'cvsps.logencoding', default=None, | |
293 ) | |
294 coreconfigitem( | |
295 b'convert', b'cvsps.mergefrom', default=None, | |
296 ) | |
297 coreconfigitem( | |
298 b'convert', b'cvsps.mergeto', default=None, | |
299 ) | |
300 coreconfigitem( | |
301 b'convert', b'git.committeractions', default=lambda: [b'messagedifferent'], | |
302 ) | |
303 coreconfigitem( | |
304 b'convert', b'git.extrakeys', default=list, | |
305 ) | |
306 coreconfigitem( | |
307 b'convert', b'git.findcopiesharder', default=False, | |
308 ) | |
309 coreconfigitem( | |
310 b'convert', b'git.remoteprefix', default=b'remote', | |
311 ) | |
312 coreconfigitem( | |
313 b'convert', b'git.renamelimit', default=400, | |
314 ) | |
315 coreconfigitem( | |
316 b'convert', b'git.saverev', default=True, | |
317 ) | |
318 coreconfigitem( | |
319 b'convert', b'git.similarity', default=50, | |
320 ) | |
321 coreconfigitem( | |
322 b'convert', b'git.skipsubmodules', default=False, | |
323 ) | |
324 coreconfigitem( | |
325 b'convert', b'hg.clonebranches', default=False, | |
326 ) | |
327 coreconfigitem( | |
328 b'convert', b'hg.ignoreerrors', default=False, | |
329 ) | |
330 coreconfigitem( | |
331 b'convert', b'hg.preserve-hash', default=False, | |
332 ) | |
333 coreconfigitem( | |
334 b'convert', b'hg.revs', default=None, | |
335 ) | |
336 coreconfigitem( | |
337 b'convert', b'hg.saverev', default=False, | |
338 ) | |
339 coreconfigitem( | |
340 b'convert', b'hg.sourcename', default=None, | |
341 ) | |
342 coreconfigitem( | |
343 b'convert', b'hg.startrev', default=None, | |
344 ) | |
345 coreconfigitem( | |
346 b'convert', b'hg.tagsbranch', default=b'default', | |
347 ) | |
348 coreconfigitem( | |
349 b'convert', b'hg.usebranchnames', default=True, | |
350 ) | |
351 coreconfigitem( | |
352 b'convert', b'ignoreancestorcheck', default=False, experimental=True, | |
353 ) | |
354 coreconfigitem( | |
355 b'convert', b'localtimezone', default=False, | |
356 ) | |
357 coreconfigitem( | |
358 b'convert', b'p4.encoding', default=dynamicdefault, | |
359 ) | |
360 coreconfigitem( | |
361 b'convert', b'p4.startrev', default=0, | |
362 ) | |
363 coreconfigitem( | |
364 b'convert', b'skiptags', default=False, | |
365 ) | |
366 coreconfigitem( | |
367 b'convert', b'svn.debugsvnlog', default=True, | |
368 ) | |
369 coreconfigitem( | |
370 b'convert', b'svn.trunk', default=None, | |
371 ) | |
372 coreconfigitem( | |
373 b'convert', b'svn.tags', default=None, | |
374 ) | |
375 coreconfigitem( | |
376 b'convert', b'svn.branches', default=None, | |
377 ) | |
378 coreconfigitem( | |
379 b'convert', b'svn.startrev', default=0, | |
380 ) | |
381 coreconfigitem( | |
382 b'debug', b'dirstate.delaywrite', default=0, | |
383 ) | |
384 coreconfigitem( | |
385 b'defaults', b'.*', default=None, generic=True, | |
386 ) | |
387 coreconfigitem( | |
388 b'devel', b'all-warnings', default=False, | |
389 ) | |
390 coreconfigitem( | |
391 b'devel', b'bundle2.debug', default=False, | |
392 ) | |
393 coreconfigitem( | |
394 b'devel', b'bundle.delta', default=b'', | |
395 ) | |
396 coreconfigitem( | |
397 b'devel', b'cache-vfs', default=None, | |
398 ) | |
399 coreconfigitem( | |
400 b'devel', b'check-locks', default=False, | |
401 ) | |
402 coreconfigitem( | |
403 b'devel', b'check-relroot', default=False, | |
404 ) | |
405 coreconfigitem( | |
406 b'devel', b'default-date', default=None, | |
407 ) | |
408 coreconfigitem( | |
409 b'devel', b'deprec-warn', default=False, | |
410 ) | |
411 coreconfigitem( | |
412 b'devel', b'disableloaddefaultcerts', default=False, | |
413 ) | |
414 coreconfigitem( | |
415 b'devel', b'warn-empty-changegroup', default=False, | |
416 ) | |
417 coreconfigitem( | |
418 b'devel', b'legacy.exchange', default=list, | |
419 ) | |
420 coreconfigitem( | |
421 b'devel', b'persistent-nodemap', default=False, | |
422 ) | |
423 coreconfigitem( | |
424 b'devel', b'servercafile', default=b'', | |
425 ) | |
426 coreconfigitem( | |
427 b'devel', b'serverexactprotocol', default=b'', | |
428 ) | |
429 coreconfigitem( | |
430 b'devel', b'serverrequirecert', default=False, | |
431 ) | |
432 coreconfigitem( | |
433 b'devel', b'strip-obsmarkers', default=True, | |
434 ) | |
435 coreconfigitem( | |
436 b'devel', b'warn-config', default=None, | |
437 ) | |
438 coreconfigitem( | |
439 b'devel', b'warn-config-default', default=None, | |
440 ) | |
441 coreconfigitem( | |
442 b'devel', b'user.obsmarker', default=None, | |
443 ) | |
444 coreconfigitem( | |
445 b'devel', b'warn-config-unknown', default=None, | |
446 ) | |
447 coreconfigitem( | |
448 b'devel', b'debug.copies', default=False, | |
449 ) | |
450 coreconfigitem( | |
451 b'devel', b'debug.extensions', default=False, | |
452 ) | |
453 coreconfigitem( | |
454 b'devel', b'debug.repo-filters', default=False, | |
455 ) | |
456 coreconfigitem( | |
457 b'devel', b'debug.peer-request', default=False, | |
458 ) | |
459 coreconfigitem( | |
460 b'devel', b'discovery.randomize', default=True, | |
461 ) | |
462 _registerdiffopts(section=b'diff') | |
463 coreconfigitem( | |
464 b'email', b'bcc', default=None, | |
465 ) | |
466 coreconfigitem( | |
467 b'email', b'cc', default=None, | |
468 ) | |
469 coreconfigitem( | |
470 b'email', b'charsets', default=list, | |
471 ) | |
472 coreconfigitem( | |
473 b'email', b'from', default=None, | |
474 ) | |
475 coreconfigitem( | |
476 b'email', b'method', default=b'smtp', | |
477 ) | |
478 coreconfigitem( | |
479 b'email', b'reply-to', default=None, | |
480 ) | |
481 coreconfigitem( | |
482 b'email', b'to', default=None, | |
483 ) | |
484 coreconfigitem( | |
485 b'experimental', b'archivemetatemplate', default=dynamicdefault, | |
486 ) | |
487 coreconfigitem( | |
488 b'experimental', b'auto-publish', default=b'publish', | |
489 ) | |
490 coreconfigitem( | |
491 b'experimental', b'bundle-phases', default=False, | |
492 ) | |
493 coreconfigitem( | |
494 b'experimental', b'bundle2-advertise', default=True, | |
495 ) | |
496 coreconfigitem( | |
497 b'experimental', b'bundle2-output-capture', default=False, | |
498 ) | |
499 coreconfigitem( | |
500 b'experimental', b'bundle2.pushback', default=False, | |
501 ) | |
502 coreconfigitem( | |
503 b'experimental', b'bundle2lazylocking', default=False, | |
504 ) | |
505 coreconfigitem( | |
506 b'experimental', b'bundlecomplevel', default=None, | |
507 ) | |
508 coreconfigitem( | |
509 b'experimental', b'bundlecomplevel.bzip2', default=None, | |
510 ) | |
511 coreconfigitem( | |
512 b'experimental', b'bundlecomplevel.gzip', default=None, | |
513 ) | |
514 coreconfigitem( | |
515 b'experimental', b'bundlecomplevel.none', default=None, | |
516 ) | |
517 coreconfigitem( | |
518 b'experimental', b'bundlecomplevel.zstd', default=None, | |
519 ) | |
520 coreconfigitem( | |
521 b'experimental', b'changegroup3', default=False, | |
522 ) | |
523 coreconfigitem( | |
524 b'experimental', b'cleanup-as-archived', default=False, | |
525 ) | |
526 coreconfigitem( | |
527 b'experimental', b'clientcompressionengines', default=list, | |
528 ) | |
529 coreconfigitem( | |
530 b'experimental', b'copytrace', default=b'on', | |
531 ) | |
532 coreconfigitem( | |
533 b'experimental', b'copytrace.movecandidateslimit', default=100, | |
534 ) | |
535 coreconfigitem( | |
536 b'experimental', b'copytrace.sourcecommitlimit', default=100, | |
537 ) | |
538 coreconfigitem( | |
539 b'experimental', b'copies.read-from', default=b"filelog-only", | |
540 ) | |
541 coreconfigitem( | |
542 b'experimental', b'copies.write-to', default=b'filelog-only', | |
543 ) | |
544 coreconfigitem( | |
545 b'experimental', b'crecordtest', default=None, | |
546 ) | |
547 coreconfigitem( | |
548 b'experimental', b'directaccess', default=False, | |
549 ) | |
550 coreconfigitem( | |
551 b'experimental', b'directaccess.revnums', default=False, | |
552 ) | |
553 coreconfigitem( | |
554 b'experimental', b'editortmpinhg', default=False, | |
555 ) | |
556 coreconfigitem( | |
557 b'experimental', b'evolution', default=list, | |
558 ) | |
559 coreconfigitem( | |
560 b'experimental', | |
561 b'evolution.allowdivergence', | |
562 default=False, | |
563 alias=[(b'experimental', b'allowdivergence')], | |
564 ) | |
565 coreconfigitem( | |
566 b'experimental', b'evolution.allowunstable', default=None, | |
567 ) | |
568 coreconfigitem( | |
569 b'experimental', b'evolution.createmarkers', default=None, | |
570 ) | |
571 coreconfigitem( | |
572 b'experimental', | |
573 b'evolution.effect-flags', | |
574 default=True, | |
575 alias=[(b'experimental', b'effect-flags')], | |
576 ) | |
577 coreconfigitem( | |
578 b'experimental', b'evolution.exchange', default=None, | |
579 ) | |
580 coreconfigitem( | |
581 b'experimental', b'evolution.bundle-obsmarker', default=False, | |
582 ) | |
583 coreconfigitem( | |
584 b'experimental', b'log.topo', default=False, | |
585 ) | |
586 coreconfigitem( | |
587 b'experimental', b'evolution.report-instabilities', default=True, | |
588 ) | |
589 coreconfigitem( | |
590 b'experimental', b'evolution.track-operation', default=True, | |
591 ) | |
592 # repo-level config to exclude a revset visibility | |
593 # | |
594 # The target use case is to use `share` to expose different subset of the same | |
595 # repository, especially server side. See also `server.view`. | |
596 coreconfigitem( | |
597 b'experimental', b'extra-filter-revs', default=None, | |
598 ) | |
599 coreconfigitem( | |
600 b'experimental', b'maxdeltachainspan', default=-1, | |
601 ) | |
602 # tracks files which were undeleted (merge might delete them but we explicitly | |
603 # kept/undeleted them) and creates new filenodes for them | |
604 coreconfigitem( | |
605 b'experimental', b'merge-track-salvaged', default=False, | |
606 ) | |
607 coreconfigitem( | |
608 b'experimental', b'mergetempdirprefix', default=None, | |
609 ) | |
610 coreconfigitem( | |
611 b'experimental', b'mmapindexthreshold', default=None, | |
612 ) | |
613 coreconfigitem( | |
614 b'experimental', b'narrow', default=False, | |
615 ) | |
616 coreconfigitem( | |
617 b'experimental', b'nonnormalparanoidcheck', default=False, | |
618 ) | |
619 coreconfigitem( | |
620 b'experimental', b'exportableenviron', default=list, | |
621 ) | |
622 coreconfigitem( | |
623 b'experimental', b'extendedheader.index', default=None, | |
624 ) | |
625 coreconfigitem( | |
626 b'experimental', b'extendedheader.similarity', default=False, | |
627 ) | |
628 coreconfigitem( | |
629 b'experimental', b'graphshorten', default=False, | |
630 ) | |
631 coreconfigitem( | |
632 b'experimental', b'graphstyle.parent', default=dynamicdefault, | |
633 ) | |
634 coreconfigitem( | |
635 b'experimental', b'graphstyle.missing', default=dynamicdefault, | |
636 ) | |
637 coreconfigitem( | |
638 b'experimental', b'graphstyle.grandparent', default=dynamicdefault, | |
639 ) | |
640 coreconfigitem( | |
641 b'experimental', b'hook-track-tags', default=False, | |
642 ) | |
643 coreconfigitem( | |
644 b'experimental', b'httppeer.advertise-v2', default=False, | |
645 ) | |
646 coreconfigitem( | |
647 b'experimental', b'httppeer.v2-encoder-order', default=None, | |
648 ) | |
649 coreconfigitem( | |
650 b'experimental', b'httppostargs', default=False, | |
651 ) | |
652 coreconfigitem(b'experimental', b'nointerrupt', default=False) | |
653 coreconfigitem(b'experimental', b'nointerrupt-interactiveonly', default=True) | |
654 | |
655 coreconfigitem( | |
656 b'experimental', b'obsmarkers-exchange-debug', default=False, | |
657 ) | |
658 coreconfigitem( | |
659 b'experimental', b'remotenames', default=False, | |
660 ) | |
661 coreconfigitem( | |
662 b'experimental', b'removeemptydirs', default=True, | |
663 ) | |
664 coreconfigitem( | |
665 b'experimental', b'revert.interactive.select-to-keep', default=False, | |
666 ) | |
667 coreconfigitem( | |
668 b'experimental', b'revisions.prefixhexnode', default=False, | |
669 ) | |
670 coreconfigitem( | |
671 b'experimental', b'revlogv2', default=None, | |
672 ) | |
673 coreconfigitem( | |
674 b'experimental', b'revisions.disambiguatewithin', default=None, | |
675 ) | |
676 coreconfigitem( | |
677 b'experimental', b'rust.index', default=False, | |
678 ) | |
679 coreconfigitem( | |
680 b'experimental', b'server.filesdata.recommended-batch-size', default=50000, | |
681 ) | |
682 coreconfigitem( | |
683 b'experimental', | |
684 b'server.manifestdata.recommended-batch-size', | |
685 default=100000, | |
686 ) | |
687 coreconfigitem( | |
688 b'experimental', b'server.stream-narrow-clones', default=False, | |
689 ) | |
690 coreconfigitem( | |
691 b'experimental', b'single-head-per-branch', default=False, | |
692 ) | |
693 coreconfigitem( | |
694 b'experimental', | |
695 b'single-head-per-branch:account-closed-heads', | |
696 default=False, | |
697 ) | |
698 coreconfigitem( | |
699 b'experimental', b'sshserver.support-v2', default=False, | |
700 ) | |
701 coreconfigitem( | |
702 b'experimental', b'sparse-read', default=False, | |
703 ) | |
704 coreconfigitem( | |
705 b'experimental', b'sparse-read.density-threshold', default=0.50, | |
706 ) | |
707 coreconfigitem( | |
708 b'experimental', b'sparse-read.min-gap-size', default=b'65K', | |
709 ) | |
710 coreconfigitem( | |
711 b'experimental', b'treemanifest', default=False, | |
712 ) | |
713 coreconfigitem( | |
714 b'experimental', b'update.atomic-file', default=False, | |
715 ) | |
716 coreconfigitem( | |
717 b'experimental', b'sshpeer.advertise-v2', default=False, | |
718 ) | |
719 coreconfigitem( | |
720 b'experimental', b'web.apiserver', default=False, | |
721 ) | |
722 coreconfigitem( | |
723 b'experimental', b'web.api.http-v2', default=False, | |
724 ) | |
725 coreconfigitem( | |
726 b'experimental', b'web.api.debugreflect', default=False, | |
727 ) | |
728 coreconfigitem( | |
729 b'experimental', b'worker.wdir-get-thread-safe', default=False, | |
730 ) | |
731 coreconfigitem( | |
732 b'experimental', b'worker.repository-upgrade', default=False, | |
733 ) | |
734 coreconfigitem( | |
735 b'experimental', b'xdiff', default=False, | |
736 ) | |
737 coreconfigitem( | |
738 b'extensions', b'.*', default=None, generic=True, | |
739 ) | |
740 coreconfigitem( | |
741 b'extdata', b'.*', default=None, generic=True, | |
742 ) | |
743 coreconfigitem( | |
744 b'format', b'bookmarks-in-store', default=False, | |
745 ) | |
746 coreconfigitem( | |
747 b'format', b'chunkcachesize', default=None, experimental=True, | |
748 ) | |
749 coreconfigitem( | |
750 b'format', b'dotencode', default=True, | |
751 ) | |
752 coreconfigitem( | |
753 b'format', b'generaldelta', default=False, experimental=True, | |
754 ) | |
755 coreconfigitem( | |
756 b'format', b'manifestcachesize', default=None, experimental=True, | |
757 ) | |
758 coreconfigitem( | |
759 b'format', b'maxchainlen', default=dynamicdefault, experimental=True, | |
760 ) | |
761 coreconfigitem( | |
762 b'format', b'obsstore-version', default=None, | |
763 ) | |
764 coreconfigitem( | |
765 b'format', b'sparse-revlog', default=True, | |
766 ) | |
767 coreconfigitem( | |
768 b'format', | |
769 b'revlog-compression', | |
770 default=lambda: [b'zlib'], | |
771 alias=[(b'experimental', b'format.compression')], | |
772 ) | |
773 coreconfigitem( | |
774 b'format', b'usefncache', default=True, | |
775 ) | |
776 coreconfigitem( | |
777 b'format', b'usegeneraldelta', default=True, | |
778 ) | |
779 coreconfigitem( | |
780 b'format', b'usestore', default=True, | |
781 ) | |
782 # Right now, the only efficient implement of the nodemap logic is in Rust, so | |
783 # the persistent nodemap feature needs to stay experimental as long as the Rust | |
784 # extensions are an experimental feature. | |
785 coreconfigitem( | |
786 b'format', b'use-persistent-nodemap', default=False, experimental=True | |
787 ) | |
788 coreconfigitem( | |
789 b'format', | |
790 b'exp-use-copies-side-data-changeset', | |
791 default=False, | |
792 experimental=True, | |
793 ) | |
794 coreconfigitem( | |
795 b'format', b'exp-use-side-data', default=False, experimental=True, | |
796 ) | |
797 coreconfigitem( | |
798 b'format', b'exp-share-safe', default=False, experimental=True, | |
799 ) | |
800 coreconfigitem( | |
801 b'format', b'internal-phase', default=False, experimental=True, | |
802 ) | |
803 coreconfigitem( | |
804 b'fsmonitor', b'warn_when_unused', default=True, | |
805 ) | |
806 coreconfigitem( | |
807 b'fsmonitor', b'warn_update_file_count', default=50000, | |
808 ) | |
809 coreconfigitem( | |
810 b'fsmonitor', b'warn_update_file_count_rust', default=400000, | |
811 ) | |
812 coreconfigitem( | |
813 b'help', br'hidden-command\..*', default=False, generic=True, | |
814 ) | |
815 coreconfigitem( | |
816 b'help', br'hidden-topic\..*', default=False, generic=True, | |
817 ) | |
818 coreconfigitem( | |
819 b'hooks', b'.*', default=dynamicdefault, generic=True, | |
820 ) | |
821 coreconfigitem( | |
822 b'hgweb-paths', b'.*', default=list, generic=True, | |
823 ) | |
824 coreconfigitem( | |
825 b'hostfingerprints', b'.*', default=list, generic=True, | |
826 ) | |
827 coreconfigitem( | |
828 b'hostsecurity', b'ciphers', default=None, | |
829 ) | |
830 coreconfigitem( | |
831 b'hostsecurity', b'minimumprotocol', default=dynamicdefault, | |
832 ) | |
833 coreconfigitem( | |
834 b'hostsecurity', | |
835 b'.*:minimumprotocol$', | |
836 default=dynamicdefault, | |
837 generic=True, | |
838 ) | |
839 coreconfigitem( | |
840 b'hostsecurity', b'.*:ciphers$', default=dynamicdefault, generic=True, | |
841 ) | |
842 coreconfigitem( | |
843 b'hostsecurity', b'.*:fingerprints$', default=list, generic=True, | |
844 ) | |
845 coreconfigitem( | |
846 b'hostsecurity', b'.*:verifycertsfile$', default=None, generic=True, | |
847 ) | |
848 | |
849 coreconfigitem( | |
850 b'http_proxy', b'always', default=False, | |
851 ) | |
852 coreconfigitem( | |
853 b'http_proxy', b'host', default=None, | |
854 ) | |
855 coreconfigitem( | |
856 b'http_proxy', b'no', default=list, | |
857 ) | |
858 coreconfigitem( | |
859 b'http_proxy', b'passwd', default=None, | |
860 ) | |
861 coreconfigitem( | |
862 b'http_proxy', b'user', default=None, | |
863 ) | |
864 | |
865 coreconfigitem( | |
866 b'http', b'timeout', default=None, | |
867 ) | |
868 | |
869 coreconfigitem( | |
870 b'logtoprocess', b'commandexception', default=None, | |
871 ) | |
872 coreconfigitem( | |
873 b'logtoprocess', b'commandfinish', default=None, | |
874 ) | |
875 coreconfigitem( | |
876 b'logtoprocess', b'command', default=None, | |
877 ) | |
878 coreconfigitem( | |
879 b'logtoprocess', b'develwarn', default=None, | |
880 ) | |
881 coreconfigitem( | |
882 b'logtoprocess', b'uiblocked', default=None, | |
883 ) | |
884 coreconfigitem( | |
885 b'merge', b'checkunknown', default=b'abort', | |
886 ) | |
887 coreconfigitem( | |
888 b'merge', b'checkignored', default=b'abort', | |
889 ) | |
890 coreconfigitem( | |
891 b'experimental', b'merge.checkpathconflicts', default=False, | |
892 ) | |
893 coreconfigitem( | |
894 b'merge', b'followcopies', default=True, | |
895 ) | |
896 coreconfigitem( | |
897 b'merge', b'on-failure', default=b'continue', | |
898 ) | |
899 coreconfigitem( | |
900 b'merge', b'preferancestor', default=lambda: [b'*'], experimental=True, | |
901 ) | |
902 coreconfigitem( | |
903 b'merge', b'strict-capability-check', default=False, | |
904 ) | |
905 coreconfigitem( | |
906 b'merge-tools', b'.*', default=None, generic=True, | |
907 ) | |
908 coreconfigitem( | |
909 b'merge-tools', | |
910 br'.*\.args$', | |
911 default=b"$local $base $other", | |
912 generic=True, | |
913 priority=-1, | |
914 ) | |
915 coreconfigitem( | |
916 b'merge-tools', br'.*\.binary$', default=False, generic=True, priority=-1, | |
917 ) | |
918 coreconfigitem( | |
919 b'merge-tools', br'.*\.check$', default=list, generic=True, priority=-1, | |
920 ) | |
921 coreconfigitem( | |
922 b'merge-tools', | |
923 br'.*\.checkchanged$', | |
924 default=False, | |
925 generic=True, | |
926 priority=-1, | |
927 ) | |
928 coreconfigitem( | |
929 b'merge-tools', | |
930 br'.*\.executable$', | |
931 default=dynamicdefault, | |
932 generic=True, | |
933 priority=-1, | |
934 ) | |
935 coreconfigitem( | |
936 b'merge-tools', br'.*\.fixeol$', default=False, generic=True, priority=-1, | |
937 ) | |
938 coreconfigitem( | |
939 b'merge-tools', br'.*\.gui$', default=False, generic=True, priority=-1, | |
940 ) | |
941 coreconfigitem( | |
942 b'merge-tools', | |
943 br'.*\.mergemarkers$', | |
944 default=b'basic', | |
945 generic=True, | |
946 priority=-1, | |
947 ) | |
948 coreconfigitem( | |
949 b'merge-tools', | |
950 br'.*\.mergemarkertemplate$', | |
951 default=dynamicdefault, # take from ui.mergemarkertemplate | |
952 generic=True, | |
953 priority=-1, | |
954 ) | |
955 coreconfigitem( | |
956 b'merge-tools', br'.*\.priority$', default=0, generic=True, priority=-1, | |
957 ) | |
958 coreconfigitem( | |
959 b'merge-tools', | |
960 br'.*\.premerge$', | |
961 default=dynamicdefault, | |
962 generic=True, | |
963 priority=-1, | |
964 ) | |
965 coreconfigitem( | |
966 b'merge-tools', br'.*\.symlink$', default=False, generic=True, priority=-1, | |
967 ) | |
968 coreconfigitem( | |
969 b'pager', b'attend-.*', default=dynamicdefault, generic=True, | |
970 ) | |
971 coreconfigitem( | |
972 b'pager', b'ignore', default=list, | |
973 ) | |
974 coreconfigitem( | |
975 b'pager', b'pager', default=dynamicdefault, | |
976 ) | |
977 coreconfigitem( | |
978 b'patch', b'eol', default=b'strict', | |
979 ) | |
980 coreconfigitem( | |
981 b'patch', b'fuzz', default=2, | |
982 ) | |
983 coreconfigitem( | |
984 b'paths', b'default', default=None, | |
985 ) | |
986 coreconfigitem( | |
987 b'paths', b'default-push', default=None, | |
988 ) | |
989 coreconfigitem( | |
990 b'paths', b'.*', default=None, generic=True, | |
991 ) | |
992 coreconfigitem( | |
993 b'phases', b'checksubrepos', default=b'follow', | |
994 ) | |
995 coreconfigitem( | |
996 b'phases', b'new-commit', default=b'draft', | |
997 ) | |
998 coreconfigitem( | |
999 b'phases', b'publish', default=True, | |
1000 ) | |
1001 coreconfigitem( | |
1002 b'profiling', b'enabled', default=False, | |
1003 ) | |
1004 coreconfigitem( | |
1005 b'profiling', b'format', default=b'text', | |
1006 ) | |
1007 coreconfigitem( | |
1008 b'profiling', b'freq', default=1000, | |
1009 ) | |
1010 coreconfigitem( | |
1011 b'profiling', b'limit', default=30, | |
1012 ) | |
1013 coreconfigitem( | |
1014 b'profiling', b'nested', default=0, | |
1015 ) | |
1016 coreconfigitem( | |
1017 b'profiling', b'output', default=None, | |
1018 ) | |
1019 coreconfigitem( | |
1020 b'profiling', b'showmax', default=0.999, | |
1021 ) | |
1022 coreconfigitem( | |
1023 b'profiling', b'showmin', default=dynamicdefault, | |
1024 ) | |
1025 coreconfigitem( | |
1026 b'profiling', b'showtime', default=True, | |
1027 ) | |
1028 coreconfigitem( | |
1029 b'profiling', b'sort', default=b'inlinetime', | |
1030 ) | |
1031 coreconfigitem( | |
1032 b'profiling', b'statformat', default=b'hotpath', | |
1033 ) | |
1034 coreconfigitem( | |
1035 b'profiling', b'time-track', default=dynamicdefault, | |
1036 ) | |
1037 coreconfigitem( | |
1038 b'profiling', b'type', default=b'stat', | |
1039 ) | |
1040 coreconfigitem( | |
1041 b'progress', b'assume-tty', default=False, | |
1042 ) | |
1043 coreconfigitem( | |
1044 b'progress', b'changedelay', default=1, | |
1045 ) | |
1046 coreconfigitem( | |
1047 b'progress', b'clear-complete', default=True, | |
1048 ) | |
1049 coreconfigitem( | |
1050 b'progress', b'debug', default=False, | |
1051 ) | |
1052 coreconfigitem( | |
1053 b'progress', b'delay', default=3, | |
1054 ) | |
1055 coreconfigitem( | |
1056 b'progress', b'disable', default=False, | |
1057 ) | |
1058 coreconfigitem( | |
1059 b'progress', b'estimateinterval', default=60.0, | |
1060 ) | |
1061 coreconfigitem( | |
1062 b'progress', | |
1063 b'format', | |
1064 default=lambda: [b'topic', b'bar', b'number', b'estimate'], | |
1065 ) | |
1066 coreconfigitem( | |
1067 b'progress', b'refresh', default=0.1, | |
1068 ) | |
1069 coreconfigitem( | |
1070 b'progress', b'width', default=dynamicdefault, | |
1071 ) | |
1072 coreconfigitem( | |
1073 b'pull', b'confirm', default=False, | |
1074 ) | |
1075 coreconfigitem( | |
1076 b'push', b'pushvars.server', default=False, | |
1077 ) | |
1078 coreconfigitem( | |
1079 b'rewrite', | |
1080 b'backup-bundle', | |
1081 default=True, | |
1082 alias=[(b'ui', b'history-editing-backup')], | |
1083 ) | |
1084 coreconfigitem( | |
1085 b'rewrite', b'update-timestamp', default=False, | |
1086 ) | |
1087 coreconfigitem( | |
1088 b'rewrite', b'empty-successor', default=b'skip', experimental=True, | |
1089 ) | |
1090 coreconfigitem( | |
1091 b'storage', b'new-repo-backend', default=b'revlogv1', experimental=True, | |
1092 ) | |
1093 coreconfigitem( | |
1094 b'storage', | |
1095 b'revlog.optimize-delta-parent-choice', | |
1096 default=True, | |
1097 alias=[(b'format', b'aggressivemergedeltas')], | |
1098 ) | |
1099 # experimental as long as rust is experimental (or a C version is implemented) | |
1100 coreconfigitem( | |
1101 b'storage', b'revlog.nodemap.mmap', default=True, experimental=True | |
1102 ) | |
1103 # experimental as long as format.use-persistent-nodemap is. | |
1104 coreconfigitem( | |
1105 b'storage', b'revlog.nodemap.mode', default=b'compat', experimental=True | |
1106 ) | |
1107 coreconfigitem( | |
1108 b'storage', b'revlog.reuse-external-delta', default=True, | |
1109 ) | |
1110 coreconfigitem( | |
1111 b'storage', b'revlog.reuse-external-delta-parent', default=None, | |
1112 ) | |
1113 coreconfigitem( | |
1114 b'storage', b'revlog.zlib.level', default=None, | |
1115 ) | |
1116 coreconfigitem( | |
1117 b'storage', b'revlog.zstd.level', default=None, | |
1118 ) | |
1119 coreconfigitem( | |
1120 b'server', b'bookmarks-pushkey-compat', default=True, | |
1121 ) | |
1122 coreconfigitem( | |
1123 b'server', b'bundle1', default=True, | |
1124 ) | |
1125 coreconfigitem( | |
1126 b'server', b'bundle1gd', default=None, | |
1127 ) | |
1128 coreconfigitem( | |
1129 b'server', b'bundle1.pull', default=None, | |
1130 ) | |
1131 coreconfigitem( | |
1132 b'server', b'bundle1gd.pull', default=None, | |
1133 ) | |
1134 coreconfigitem( | |
1135 b'server', b'bundle1.push', default=None, | |
1136 ) | |
1137 coreconfigitem( | |
1138 b'server', b'bundle1gd.push', default=None, | |
1139 ) | |
1140 coreconfigitem( | |
1141 b'server', | |
1142 b'bundle2.stream', | |
1143 default=True, | |
1144 alias=[(b'experimental', b'bundle2.stream')], | |
1145 ) | |
1146 coreconfigitem( | |
1147 b'server', b'compressionengines', default=list, | |
1148 ) | |
1149 coreconfigitem( | |
1150 b'server', b'concurrent-push-mode', default=b'check-related', | |
1151 ) | |
1152 coreconfigitem( | |
1153 b'server', b'disablefullbundle', default=False, | |
1154 ) | |
1155 coreconfigitem( | |
1156 b'server', b'maxhttpheaderlen', default=1024, | |
1157 ) | |
1158 coreconfigitem( | |
1159 b'server', b'pullbundle', default=False, | |
1160 ) | |
1161 coreconfigitem( | |
1162 b'server', b'preferuncompressed', default=False, | |
1163 ) | |
1164 coreconfigitem( | |
1165 b'server', b'streamunbundle', default=False, | |
1166 ) | |
1167 coreconfigitem( | |
1168 b'server', b'uncompressed', default=True, | |
1169 ) | |
1170 coreconfigitem( | |
1171 b'server', b'uncompressedallowsecret', default=False, | |
1172 ) | |
1173 coreconfigitem( | |
1174 b'server', b'view', default=b'served', | |
1175 ) | |
1176 coreconfigitem( | |
1177 b'server', b'validate', default=False, | |
1178 ) | |
1179 coreconfigitem( | |
1180 b'server', b'zliblevel', default=-1, | |
1181 ) | |
1182 coreconfigitem( | |
1183 b'server', b'zstdlevel', default=3, | |
1184 ) | |
1185 coreconfigitem( | |
1186 b'share', b'pool', default=None, | |
1187 ) | |
1188 coreconfigitem( | |
1189 b'share', b'poolnaming', default=b'identity', | |
1190 ) | |
1191 coreconfigitem( | |
1192 b'shelve', b'maxbackups', default=10, | |
1193 ) | |
1194 coreconfigitem( | |
1195 b'smtp', b'host', default=None, | |
1196 ) | |
1197 coreconfigitem( | |
1198 b'smtp', b'local_hostname', default=None, | |
1199 ) | |
1200 coreconfigitem( | |
1201 b'smtp', b'password', default=None, | |
1202 ) | |
1203 coreconfigitem( | |
1204 b'smtp', b'port', default=dynamicdefault, | |
1205 ) | |
1206 coreconfigitem( | |
1207 b'smtp', b'tls', default=b'none', | |
1208 ) | |
1209 coreconfigitem( | |
1210 b'smtp', b'username', default=None, | |
1211 ) | |
1212 coreconfigitem( | |
1213 b'sparse', b'missingwarning', default=True, experimental=True, | |
1214 ) | |
1215 coreconfigitem( | |
1216 b'subrepos', | |
1217 b'allowed', | |
1218 default=dynamicdefault, # to make backporting simpler | |
1219 ) | |
1220 coreconfigitem( | |
1221 b'subrepos', b'hg:allowed', default=dynamicdefault, | |
1222 ) | |
1223 coreconfigitem( | |
1224 b'subrepos', b'git:allowed', default=dynamicdefault, | |
1225 ) | |
1226 coreconfigitem( | |
1227 b'subrepos', b'svn:allowed', default=dynamicdefault, | |
1228 ) | |
1229 coreconfigitem( | |
1230 b'templates', b'.*', default=None, generic=True, | |
1231 ) | |
1232 coreconfigitem( | |
1233 b'templateconfig', b'.*', default=dynamicdefault, generic=True, | |
1234 ) | |
1235 coreconfigitem( | |
1236 b'trusted', b'groups', default=list, | |
1237 ) | |
1238 coreconfigitem( | |
1239 b'trusted', b'users', default=list, | |
1240 ) | |
1241 coreconfigitem( | |
1242 b'ui', b'_usedassubrepo', default=False, | |
1243 ) | |
1244 coreconfigitem( | |
1245 b'ui', b'allowemptycommit', default=False, | |
1246 ) | |
1247 coreconfigitem( | |
1248 b'ui', b'archivemeta', default=True, | |
1249 ) | |
1250 coreconfigitem( | |
1251 b'ui', b'askusername', default=False, | |
1252 ) | |
1253 coreconfigitem( | |
1254 b'ui', b'available-memory', default=None, | |
1255 ) | |
1256 | |
1257 coreconfigitem( | |
1258 b'ui', b'clonebundlefallback', default=False, | |
1259 ) | |
1260 coreconfigitem( | |
1261 b'ui', b'clonebundleprefers', default=list, | |
1262 ) | |
1263 coreconfigitem( | |
1264 b'ui', b'clonebundles', default=True, | |
1265 ) | |
1266 coreconfigitem( | |
1267 b'ui', b'color', default=b'auto', | |
1268 ) | |
1269 coreconfigitem( | |
1270 b'ui', b'commitsubrepos', default=False, | |
1271 ) | |
1272 coreconfigitem( | |
1273 b'ui', b'debug', default=False, | |
1274 ) | |
1275 coreconfigitem( | |
1276 b'ui', b'debugger', default=None, | |
1277 ) | |
1278 coreconfigitem( | |
1279 b'ui', b'editor', default=dynamicdefault, | |
1280 ) | |
1281 coreconfigitem( | |
1282 b'ui', b'fallbackencoding', default=None, | |
1283 ) | |
1284 coreconfigitem( | |
1285 b'ui', b'forcecwd', default=None, | |
1286 ) | |
1287 coreconfigitem( | |
1288 b'ui', b'forcemerge', default=None, | |
1289 ) | |
1290 coreconfigitem( | |
1291 b'ui', b'formatdebug', default=False, | |
1292 ) | |
1293 coreconfigitem( | |
1294 b'ui', b'formatjson', default=False, | |
1295 ) | |
1296 coreconfigitem( | |
1297 b'ui', b'formatted', default=None, | |
1298 ) | |
1299 coreconfigitem( | |
1300 b'ui', b'interactive', default=None, | |
1301 ) | |
1302 coreconfigitem( | |
1303 b'ui', b'interface', default=None, | |
1304 ) | |
1305 coreconfigitem( | |
1306 b'ui', b'interface.chunkselector', default=None, | |
1307 ) | |
1308 coreconfigitem( | |
1309 b'ui', b'large-file-limit', default=10000000, | |
1310 ) | |
1311 coreconfigitem( | |
1312 b'ui', b'logblockedtimes', default=False, | |
1313 ) | |
1314 coreconfigitem( | |
1315 b'ui', b'merge', default=None, | |
1316 ) | |
1317 coreconfigitem( | |
1318 b'ui', b'mergemarkers', default=b'basic', | |
1319 ) | |
1320 coreconfigitem( | |
1321 b'ui', | |
1322 b'mergemarkertemplate', | |
1323 default=( | 238 default=( |
1324 b'{node|short} ' | 239 b'{node|short} ' |
1325 b'{ifeq(tags, "tip", "", ' | 240 b'{ifeq(tags, "tip", "", ' |
1326 b'ifeq(tags, "", "", "{tags} "))}' | 241 b'ifeq(tags, "", "", "{tags} "))}' |
1327 b'{if(bookmarks, "{bookmarks} ")}' | 242 b'{if(bookmarks, "{bookmarks} ")}' |
1328 b'{ifeq(branch, "default", "", "{branch} ")}' | 243 b'{ifeq(branch, "default", "", "{branch} ")}' |
1329 b'- {author|user}: {desc|firstline}' | 244 b'- {author|user}: {desc|firstline}' |
1330 ), | 245 ), |
246 alias=[(b'ui', b'mergemarkertemplate')], | |
247 ) | |
248 _registerdiffopts(section=b'commands', configprefix=b'commit.interactive.') | |
249 coreconfigitem( | |
250 b'commands', b'commit.post-status', default=False, | |
251 ) | |
252 coreconfigitem( | |
253 b'commands', b'grep.all-files', default=False, experimental=True, | |
254 ) | |
255 coreconfigitem( | |
256 b'commands', b'merge.require-rev', default=False, | |
257 ) | |
258 coreconfigitem( | |
259 b'commands', b'push.require-revs', default=False, | |
260 ) | |
261 coreconfigitem( | |
262 b'commands', b'resolve.confirm', default=False, | |
263 ) | |
264 coreconfigitem( | |
265 b'commands', b'resolve.explicit-re-merge', default=False, | |
266 ) | |
267 coreconfigitem( | |
268 b'commands', b'resolve.mark-check', default=b'none', | |
269 ) | |
270 _registerdiffopts(section=b'commands', configprefix=b'revert.interactive.') | |
271 coreconfigitem( | |
272 b'commands', b'show.aliasprefix', default=list, | |
273 ) | |
274 coreconfigitem( | |
275 b'commands', b'status.relative', default=False, | |
276 ) | |
277 coreconfigitem( | |
278 b'commands', b'status.skipstates', default=[], experimental=True, | |
279 ) | |
280 coreconfigitem( | |
281 b'commands', b'status.terse', default=b'', | |
282 ) | |
283 coreconfigitem( | |
284 b'commands', b'status.verbose', default=False, | |
285 ) | |
286 coreconfigitem( | |
287 b'commands', b'update.check', default=None, | |
288 ) | |
289 coreconfigitem( | |
290 b'commands', b'update.requiredest', default=False, | |
291 ) | |
292 coreconfigitem( | |
293 b'committemplate', b'.*', default=None, generic=True, | |
294 ) | |
295 coreconfigitem( | |
296 b'convert', b'bzr.saverev', default=True, | |
297 ) | |
298 coreconfigitem( | |
299 b'convert', b'cvsps.cache', default=True, | |
300 ) | |
301 coreconfigitem( | |
302 b'convert', b'cvsps.fuzz', default=60, | |
303 ) | |
304 coreconfigitem( | |
305 b'convert', b'cvsps.logencoding', default=None, | |
306 ) | |
307 coreconfigitem( | |
308 b'convert', b'cvsps.mergefrom', default=None, | |
309 ) | |
310 coreconfigitem( | |
311 b'convert', b'cvsps.mergeto', default=None, | |
312 ) | |
313 coreconfigitem( | |
314 b'convert', b'git.committeractions', default=lambda: [b'messagedifferent'], | |
315 ) | |
316 coreconfigitem( | |
317 b'convert', b'git.extrakeys', default=list, | |
318 ) | |
319 coreconfigitem( | |
320 b'convert', b'git.findcopiesharder', default=False, | |
321 ) | |
322 coreconfigitem( | |
323 b'convert', b'git.remoteprefix', default=b'remote', | |
324 ) | |
325 coreconfigitem( | |
326 b'convert', b'git.renamelimit', default=400, | |
327 ) | |
328 coreconfigitem( | |
329 b'convert', b'git.saverev', default=True, | |
330 ) | |
331 coreconfigitem( | |
332 b'convert', b'git.similarity', default=50, | |
333 ) | |
334 coreconfigitem( | |
335 b'convert', b'git.skipsubmodules', default=False, | |
336 ) | |
337 coreconfigitem( | |
338 b'convert', b'hg.clonebranches', default=False, | |
339 ) | |
340 coreconfigitem( | |
341 b'convert', b'hg.ignoreerrors', default=False, | |
342 ) | |
343 coreconfigitem( | |
344 b'convert', b'hg.preserve-hash', default=False, | |
345 ) | |
346 coreconfigitem( | |
347 b'convert', b'hg.revs', default=None, | |
348 ) | |
349 coreconfigitem( | |
350 b'convert', b'hg.saverev', default=False, | |
351 ) | |
352 coreconfigitem( | |
353 b'convert', b'hg.sourcename', default=None, | |
354 ) | |
355 coreconfigitem( | |
356 b'convert', b'hg.startrev', default=None, | |
357 ) | |
358 coreconfigitem( | |
359 b'convert', b'hg.tagsbranch', default=b'default', | |
360 ) | |
361 coreconfigitem( | |
362 b'convert', b'hg.usebranchnames', default=True, | |
363 ) | |
364 coreconfigitem( | |
365 b'convert', b'ignoreancestorcheck', default=False, experimental=True, | |
366 ) | |
367 coreconfigitem( | |
368 b'convert', b'localtimezone', default=False, | |
369 ) | |
370 coreconfigitem( | |
371 b'convert', b'p4.encoding', default=dynamicdefault, | |
372 ) | |
373 coreconfigitem( | |
374 b'convert', b'p4.startrev', default=0, | |
375 ) | |
376 coreconfigitem( | |
377 b'convert', b'skiptags', default=False, | |
378 ) | |
379 coreconfigitem( | |
380 b'convert', b'svn.debugsvnlog', default=True, | |
381 ) | |
382 coreconfigitem( | |
383 b'convert', b'svn.trunk', default=None, | |
384 ) | |
385 coreconfigitem( | |
386 b'convert', b'svn.tags', default=None, | |
387 ) | |
388 coreconfigitem( | |
389 b'convert', b'svn.branches', default=None, | |
390 ) | |
391 coreconfigitem( | |
392 b'convert', b'svn.startrev', default=0, | |
393 ) | |
394 coreconfigitem( | |
395 b'debug', b'dirstate.delaywrite', default=0, | |
396 ) | |
397 coreconfigitem( | |
398 b'defaults', b'.*', default=None, generic=True, | |
399 ) | |
400 coreconfigitem( | |
401 b'devel', b'all-warnings', default=False, | |
402 ) | |
403 coreconfigitem( | |
404 b'devel', b'bundle2.debug', default=False, | |
405 ) | |
406 coreconfigitem( | |
407 b'devel', b'bundle.delta', default=b'', | |
408 ) | |
409 coreconfigitem( | |
410 b'devel', b'cache-vfs', default=None, | |
411 ) | |
412 coreconfigitem( | |
413 b'devel', b'check-locks', default=False, | |
414 ) | |
415 coreconfigitem( | |
416 b'devel', b'check-relroot', default=False, | |
417 ) | |
418 coreconfigitem( | |
419 b'devel', b'default-date', default=None, | |
420 ) | |
421 coreconfigitem( | |
422 b'devel', b'deprec-warn', default=False, | |
423 ) | |
424 coreconfigitem( | |
425 b'devel', b'disableloaddefaultcerts', default=False, | |
426 ) | |
427 coreconfigitem( | |
428 b'devel', b'warn-empty-changegroup', default=False, | |
429 ) | |
430 coreconfigitem( | |
431 b'devel', b'legacy.exchange', default=list, | |
432 ) | |
433 coreconfigitem( | |
434 b'devel', b'persistent-nodemap', default=False, | |
435 ) | |
436 coreconfigitem( | |
437 b'devel', b'servercafile', default=b'', | |
438 ) | |
439 coreconfigitem( | |
440 b'devel', b'serverexactprotocol', default=b'', | |
441 ) | |
442 coreconfigitem( | |
443 b'devel', b'serverrequirecert', default=False, | |
444 ) | |
445 coreconfigitem( | |
446 b'devel', b'strip-obsmarkers', default=True, | |
447 ) | |
448 coreconfigitem( | |
449 b'devel', b'warn-config', default=None, | |
450 ) | |
451 coreconfigitem( | |
452 b'devel', b'warn-config-default', default=None, | |
453 ) | |
454 coreconfigitem( | |
455 b'devel', b'user.obsmarker', default=None, | |
456 ) | |
457 coreconfigitem( | |
458 b'devel', b'warn-config-unknown', default=None, | |
459 ) | |
460 coreconfigitem( | |
461 b'devel', b'debug.copies', default=False, | |
462 ) | |
463 coreconfigitem( | |
464 b'devel', b'debug.extensions', default=False, | |
465 ) | |
466 coreconfigitem( | |
467 b'devel', b'debug.repo-filters', default=False, | |
468 ) | |
469 coreconfigitem( | |
470 b'devel', b'debug.peer-request', default=False, | |
471 ) | |
472 coreconfigitem( | |
473 b'devel', b'discovery.randomize', default=True, | |
474 ) | |
475 _registerdiffopts(section=b'diff') | |
476 coreconfigitem( | |
477 b'email', b'bcc', default=None, | |
478 ) | |
479 coreconfigitem( | |
480 b'email', b'cc', default=None, | |
481 ) | |
482 coreconfigitem( | |
483 b'email', b'charsets', default=list, | |
484 ) | |
485 coreconfigitem( | |
486 b'email', b'from', default=None, | |
487 ) | |
488 coreconfigitem( | |
489 b'email', b'method', default=b'smtp', | |
490 ) | |
491 coreconfigitem( | |
492 b'email', b'reply-to', default=None, | |
493 ) | |
494 coreconfigitem( | |
495 b'email', b'to', default=None, | |
496 ) | |
497 coreconfigitem( | |
498 b'experimental', b'archivemetatemplate', default=dynamicdefault, | |
499 ) | |
500 coreconfigitem( | |
501 b'experimental', b'auto-publish', default=b'publish', | |
502 ) | |
503 coreconfigitem( | |
504 b'experimental', b'bundle-phases', default=False, | |
505 ) | |
506 coreconfigitem( | |
507 b'experimental', b'bundle2-advertise', default=True, | |
508 ) | |
509 coreconfigitem( | |
510 b'experimental', b'bundle2-output-capture', default=False, | |
511 ) | |
512 coreconfigitem( | |
513 b'experimental', b'bundle2.pushback', default=False, | |
514 ) | |
515 coreconfigitem( | |
516 b'experimental', b'bundle2lazylocking', default=False, | |
517 ) | |
518 coreconfigitem( | |
519 b'experimental', b'bundlecomplevel', default=None, | |
520 ) | |
521 coreconfigitem( | |
522 b'experimental', b'bundlecomplevel.bzip2', default=None, | |
523 ) | |
524 coreconfigitem( | |
525 b'experimental', b'bundlecomplevel.gzip', default=None, | |
526 ) | |
527 coreconfigitem( | |
528 b'experimental', b'bundlecomplevel.none', default=None, | |
529 ) | |
530 coreconfigitem( | |
531 b'experimental', b'bundlecomplevel.zstd', default=None, | |
532 ) | |
533 coreconfigitem( | |
534 b'experimental', b'changegroup3', default=False, | |
535 ) | |
536 coreconfigitem( | |
537 b'experimental', b'cleanup-as-archived', default=False, | |
538 ) | |
539 coreconfigitem( | |
540 b'experimental', b'clientcompressionengines', default=list, | |
541 ) | |
542 coreconfigitem( | |
543 b'experimental', b'copytrace', default=b'on', | |
544 ) | |
545 coreconfigitem( | |
546 b'experimental', b'copytrace.movecandidateslimit', default=100, | |
547 ) | |
548 coreconfigitem( | |
549 b'experimental', b'copytrace.sourcecommitlimit', default=100, | |
550 ) | |
551 coreconfigitem( | |
552 b'experimental', b'copies.read-from', default=b"filelog-only", | |
553 ) | |
554 coreconfigitem( | |
555 b'experimental', b'copies.write-to', default=b'filelog-only', | |
556 ) | |
557 coreconfigitem( | |
558 b'experimental', b'crecordtest', default=None, | |
559 ) | |
560 coreconfigitem( | |
561 b'experimental', b'directaccess', default=False, | |
562 ) | |
563 coreconfigitem( | |
564 b'experimental', b'directaccess.revnums', default=False, | |
565 ) | |
566 coreconfigitem( | |
567 b'experimental', b'editortmpinhg', default=False, | |
568 ) | |
569 coreconfigitem( | |
570 b'experimental', b'evolution', default=list, | |
571 ) | |
572 coreconfigitem( | |
573 b'experimental', | |
574 b'evolution.allowdivergence', | |
575 default=False, | |
576 alias=[(b'experimental', b'allowdivergence')], | |
577 ) | |
578 coreconfigitem( | |
579 b'experimental', b'evolution.allowunstable', default=None, | |
580 ) | |
581 coreconfigitem( | |
582 b'experimental', b'evolution.createmarkers', default=None, | |
583 ) | |
584 coreconfigitem( | |
585 b'experimental', | |
586 b'evolution.effect-flags', | |
587 default=True, | |
588 alias=[(b'experimental', b'effect-flags')], | |
589 ) | |
590 coreconfigitem( | |
591 b'experimental', b'evolution.exchange', default=None, | |
592 ) | |
593 coreconfigitem( | |
594 b'experimental', b'evolution.bundle-obsmarker', default=False, | |
595 ) | |
596 coreconfigitem( | |
597 b'experimental', b'log.topo', default=False, | |
598 ) | |
599 coreconfigitem( | |
600 b'experimental', b'evolution.report-instabilities', default=True, | |
601 ) | |
602 coreconfigitem( | |
603 b'experimental', b'evolution.track-operation', default=True, | |
604 ) | |
605 # repo-level config to exclude a revset visibility | |
606 # | |
607 # The target use case is to use `share` to expose different subset of the same | |
608 # repository, especially server side. See also `server.view`. | |
609 coreconfigitem( | |
610 b'experimental', b'extra-filter-revs', default=None, | |
611 ) | |
612 coreconfigitem( | |
613 b'experimental', b'maxdeltachainspan', default=-1, | |
614 ) | |
615 # tracks files which were undeleted (merge might delete them but we explicitly | |
616 # kept/undeleted them) and creates new filenodes for them | |
617 coreconfigitem( | |
618 b'experimental', b'merge-track-salvaged', default=False, | |
619 ) | |
620 coreconfigitem( | |
621 b'experimental', b'mergetempdirprefix', default=None, | |
622 ) | |
623 coreconfigitem( | |
624 b'experimental', b'mmapindexthreshold', default=None, | |
625 ) | |
626 coreconfigitem( | |
627 b'experimental', b'narrow', default=False, | |
628 ) | |
629 coreconfigitem( | |
630 b'experimental', b'nonnormalparanoidcheck', default=False, | |
631 ) | |
632 coreconfigitem( | |
633 b'experimental', b'exportableenviron', default=list, | |
634 ) | |
635 coreconfigitem( | |
636 b'experimental', b'extendedheader.index', default=None, | |
637 ) | |
638 coreconfigitem( | |
639 b'experimental', b'extendedheader.similarity', default=False, | |
640 ) | |
641 coreconfigitem( | |
642 b'experimental', b'graphshorten', default=False, | |
643 ) | |
644 coreconfigitem( | |
645 b'experimental', b'graphstyle.parent', default=dynamicdefault, | |
646 ) | |
647 coreconfigitem( | |
648 b'experimental', b'graphstyle.missing', default=dynamicdefault, | |
649 ) | |
650 coreconfigitem( | |
651 b'experimental', b'graphstyle.grandparent', default=dynamicdefault, | |
652 ) | |
653 coreconfigitem( | |
654 b'experimental', b'hook-track-tags', default=False, | |
655 ) | |
656 coreconfigitem( | |
657 b'experimental', b'httppeer.advertise-v2', default=False, | |
658 ) | |
659 coreconfigitem( | |
660 b'experimental', b'httppeer.v2-encoder-order', default=None, | |
661 ) | |
662 coreconfigitem( | |
663 b'experimental', b'httppostargs', default=False, | |
664 ) | |
665 coreconfigitem(b'experimental', b'nointerrupt', default=False) | |
666 coreconfigitem(b'experimental', b'nointerrupt-interactiveonly', default=True) | |
667 | |
668 coreconfigitem( | |
669 b'experimental', b'obsmarkers-exchange-debug', default=False, | |
670 ) | |
671 coreconfigitem( | |
672 b'experimental', b'remotenames', default=False, | |
673 ) | |
674 coreconfigitem( | |
675 b'experimental', b'removeemptydirs', default=True, | |
676 ) | |
677 coreconfigitem( | |
678 b'experimental', b'revert.interactive.select-to-keep', default=False, | |
679 ) | |
680 coreconfigitem( | |
681 b'experimental', b'revisions.prefixhexnode', default=False, | |
682 ) | |
683 coreconfigitem( | |
684 b'experimental', b'revlogv2', default=None, | |
685 ) | |
686 coreconfigitem( | |
687 b'experimental', b'revisions.disambiguatewithin', default=None, | |
688 ) | |
689 coreconfigitem( | |
690 b'experimental', b'rust.index', default=False, | |
691 ) | |
692 coreconfigitem( | |
693 b'experimental', b'server.filesdata.recommended-batch-size', default=50000, | |
694 ) | |
695 coreconfigitem( | |
696 b'experimental', | |
697 b'server.manifestdata.recommended-batch-size', | |
698 default=100000, | |
699 ) | |
700 coreconfigitem( | |
701 b'experimental', b'server.stream-narrow-clones', default=False, | |
702 ) | |
703 coreconfigitem( | |
704 b'experimental', b'single-head-per-branch', default=False, | |
705 ) | |
706 coreconfigitem( | |
707 b'experimental', | |
708 b'single-head-per-branch:account-closed-heads', | |
709 default=False, | |
710 ) | |
711 coreconfigitem( | |
712 b'experimental', b'sshserver.support-v2', default=False, | |
713 ) | |
714 coreconfigitem( | |
715 b'experimental', b'sparse-read', default=False, | |
716 ) | |
717 coreconfigitem( | |
718 b'experimental', b'sparse-read.density-threshold', default=0.50, | |
719 ) | |
720 coreconfigitem( | |
721 b'experimental', b'sparse-read.min-gap-size', default=b'65K', | |
722 ) | |
723 coreconfigitem( | |
724 b'experimental', b'treemanifest', default=False, | |
725 ) | |
726 coreconfigitem( | |
727 b'experimental', b'update.atomic-file', default=False, | |
728 ) | |
729 coreconfigitem( | |
730 b'experimental', b'sshpeer.advertise-v2', default=False, | |
731 ) | |
732 coreconfigitem( | |
733 b'experimental', b'web.apiserver', default=False, | |
734 ) | |
735 coreconfigitem( | |
736 b'experimental', b'web.api.http-v2', default=False, | |
737 ) | |
738 coreconfigitem( | |
739 b'experimental', b'web.api.debugreflect', default=False, | |
740 ) | |
741 coreconfigitem( | |
742 b'experimental', b'worker.wdir-get-thread-safe', default=False, | |
743 ) | |
744 coreconfigitem( | |
745 b'experimental', b'worker.repository-upgrade', default=False, | |
746 ) | |
747 coreconfigitem( | |
748 b'experimental', b'xdiff', default=False, | |
749 ) | |
750 coreconfigitem( | |
751 b'extensions', b'.*', default=None, generic=True, | |
752 ) | |
753 coreconfigitem( | |
754 b'extdata', b'.*', default=None, generic=True, | |
755 ) | |
756 coreconfigitem( | |
757 b'format', b'bookmarks-in-store', default=False, | |
758 ) | |
759 coreconfigitem( | |
760 b'format', b'chunkcachesize', default=None, experimental=True, | |
761 ) | |
762 coreconfigitem( | |
763 b'format', b'dotencode', default=True, | |
764 ) | |
765 coreconfigitem( | |
766 b'format', b'generaldelta', default=False, experimental=True, | |
767 ) | |
768 coreconfigitem( | |
769 b'format', b'manifestcachesize', default=None, experimental=True, | |
770 ) | |
771 coreconfigitem( | |
772 b'format', b'maxchainlen', default=dynamicdefault, experimental=True, | |
773 ) | |
774 coreconfigitem( | |
775 b'format', b'obsstore-version', default=None, | |
776 ) | |
777 coreconfigitem( | |
778 b'format', b'sparse-revlog', default=True, | |
779 ) | |
780 coreconfigitem( | |
781 b'format', | |
782 b'revlog-compression', | |
783 default=lambda: [b'zlib'], | |
784 alias=[(b'experimental', b'format.compression')], | |
785 ) | |
786 coreconfigitem( | |
787 b'format', b'usefncache', default=True, | |
788 ) | |
789 coreconfigitem( | |
790 b'format', b'usegeneraldelta', default=True, | |
791 ) | |
792 coreconfigitem( | |
793 b'format', b'usestore', default=True, | |
794 ) | |
795 # Right now, the only efficient implement of the nodemap logic is in Rust, so | |
796 # the persistent nodemap feature needs to stay experimental as long as the Rust | |
797 # extensions are an experimental feature. | |
798 coreconfigitem( | |
799 b'format', b'use-persistent-nodemap', default=False, experimental=True | |
800 ) | |
801 coreconfigitem( | |
802 b'format', | |
803 b'exp-use-copies-side-data-changeset', | |
804 default=False, | |
805 experimental=True, | |
806 ) | |
807 coreconfigitem( | |
808 b'format', b'exp-use-side-data', default=False, experimental=True, | |
809 ) | |
810 coreconfigitem( | |
811 b'format', b'exp-share-safe', default=False, experimental=True, | |
812 ) | |
813 coreconfigitem( | |
814 b'format', b'internal-phase', default=False, experimental=True, | |
815 ) | |
816 coreconfigitem( | |
817 b'fsmonitor', b'warn_when_unused', default=True, | |
818 ) | |
819 coreconfigitem( | |
820 b'fsmonitor', b'warn_update_file_count', default=50000, | |
821 ) | |
822 coreconfigitem( | |
823 b'fsmonitor', b'warn_update_file_count_rust', default=400000, | |
824 ) | |
825 coreconfigitem( | |
826 b'help', br'hidden-command\..*', default=False, generic=True, | |
827 ) | |
828 coreconfigitem( | |
829 b'help', br'hidden-topic\..*', default=False, generic=True, | |
830 ) | |
831 coreconfigitem( | |
832 b'hooks', b'.*', default=dynamicdefault, generic=True, | |
833 ) | |
834 coreconfigitem( | |
835 b'hgweb-paths', b'.*', default=list, generic=True, | |
836 ) | |
837 coreconfigitem( | |
838 b'hostfingerprints', b'.*', default=list, generic=True, | |
839 ) | |
840 coreconfigitem( | |
841 b'hostsecurity', b'ciphers', default=None, | |
842 ) | |
843 coreconfigitem( | |
844 b'hostsecurity', b'minimumprotocol', default=dynamicdefault, | |
845 ) | |
846 coreconfigitem( | |
847 b'hostsecurity', | |
848 b'.*:minimumprotocol$', | |
849 default=dynamicdefault, | |
850 generic=True, | |
851 ) | |
852 coreconfigitem( | |
853 b'hostsecurity', b'.*:ciphers$', default=dynamicdefault, generic=True, | |
854 ) | |
855 coreconfigitem( | |
856 b'hostsecurity', b'.*:fingerprints$', default=list, generic=True, | |
857 ) | |
858 coreconfigitem( | |
859 b'hostsecurity', b'.*:verifycertsfile$', default=None, generic=True, | |
860 ) | |
861 | |
862 coreconfigitem( | |
863 b'http_proxy', b'always', default=False, | |
864 ) | |
865 coreconfigitem( | |
866 b'http_proxy', b'host', default=None, | |
867 ) | |
868 coreconfigitem( | |
869 b'http_proxy', b'no', default=list, | |
870 ) | |
871 coreconfigitem( | |
872 b'http_proxy', b'passwd', default=None, | |
873 ) | |
874 coreconfigitem( | |
875 b'http_proxy', b'user', default=None, | |
876 ) | |
877 | |
878 coreconfigitem( | |
879 b'http', b'timeout', default=None, | |
880 ) | |
881 | |
882 coreconfigitem( | |
883 b'logtoprocess', b'commandexception', default=None, | |
884 ) | |
885 coreconfigitem( | |
886 b'logtoprocess', b'commandfinish', default=None, | |
887 ) | |
888 coreconfigitem( | |
889 b'logtoprocess', b'command', default=None, | |
890 ) | |
891 coreconfigitem( | |
892 b'logtoprocess', b'develwarn', default=None, | |
893 ) | |
894 coreconfigitem( | |
895 b'logtoprocess', b'uiblocked', default=None, | |
896 ) | |
897 coreconfigitem( | |
898 b'merge', b'checkunknown', default=b'abort', | |
899 ) | |
900 coreconfigitem( | |
901 b'merge', b'checkignored', default=b'abort', | |
902 ) | |
903 coreconfigitem( | |
904 b'experimental', b'merge.checkpathconflicts', default=False, | |
905 ) | |
906 coreconfigitem( | |
907 b'merge', b'followcopies', default=True, | |
908 ) | |
909 coreconfigitem( | |
910 b'merge', b'on-failure', default=b'continue', | |
911 ) | |
912 coreconfigitem( | |
913 b'merge', b'preferancestor', default=lambda: [b'*'], experimental=True, | |
914 ) | |
915 coreconfigitem( | |
916 b'merge', b'strict-capability-check', default=False, | |
917 ) | |
918 coreconfigitem( | |
919 b'merge-tools', b'.*', default=None, generic=True, | |
920 ) | |
921 coreconfigitem( | |
922 b'merge-tools', | |
923 br'.*\.args$', | |
924 default=b"$local $base $other", | |
925 generic=True, | |
926 priority=-1, | |
927 ) | |
928 coreconfigitem( | |
929 b'merge-tools', br'.*\.binary$', default=False, generic=True, priority=-1, | |
930 ) | |
931 coreconfigitem( | |
932 b'merge-tools', br'.*\.check$', default=list, generic=True, priority=-1, | |
933 ) | |
934 coreconfigitem( | |
935 b'merge-tools', | |
936 br'.*\.checkchanged$', | |
937 default=False, | |
938 generic=True, | |
939 priority=-1, | |
940 ) | |
941 coreconfigitem( | |
942 b'merge-tools', | |
943 br'.*\.executable$', | |
944 default=dynamicdefault, | |
945 generic=True, | |
946 priority=-1, | |
947 ) | |
948 coreconfigitem( | |
949 b'merge-tools', br'.*\.fixeol$', default=False, generic=True, priority=-1, | |
950 ) | |
951 coreconfigitem( | |
952 b'merge-tools', br'.*\.gui$', default=False, generic=True, priority=-1, | |
953 ) | |
954 coreconfigitem( | |
955 b'merge-tools', | |
956 br'.*\.mergemarkers$', | |
957 default=b'basic', | |
958 generic=True, | |
959 priority=-1, | |
960 ) | |
961 coreconfigitem( | |
962 b'merge-tools', | |
963 br'.*\.mergemarkertemplate$', | |
964 default=dynamicdefault, # take from command-templates.mergemarker | |
965 generic=True, | |
966 priority=-1, | |
967 ) | |
968 coreconfigitem( | |
969 b'merge-tools', br'.*\.priority$', default=0, generic=True, priority=-1, | |
970 ) | |
971 coreconfigitem( | |
972 b'merge-tools', | |
973 br'.*\.premerge$', | |
974 default=dynamicdefault, | |
975 generic=True, | |
976 priority=-1, | |
977 ) | |
978 coreconfigitem( | |
979 b'merge-tools', br'.*\.symlink$', default=False, generic=True, priority=-1, | |
980 ) | |
981 coreconfigitem( | |
982 b'pager', b'attend-.*', default=dynamicdefault, generic=True, | |
983 ) | |
984 coreconfigitem( | |
985 b'pager', b'ignore', default=list, | |
986 ) | |
987 coreconfigitem( | |
988 b'pager', b'pager', default=dynamicdefault, | |
989 ) | |
990 coreconfigitem( | |
991 b'patch', b'eol', default=b'strict', | |
992 ) | |
993 coreconfigitem( | |
994 b'patch', b'fuzz', default=2, | |
995 ) | |
996 coreconfigitem( | |
997 b'paths', b'default', default=None, | |
998 ) | |
999 coreconfigitem( | |
1000 b'paths', b'default-push', default=None, | |
1001 ) | |
1002 coreconfigitem( | |
1003 b'paths', b'.*', default=None, generic=True, | |
1004 ) | |
1005 coreconfigitem( | |
1006 b'phases', b'checksubrepos', default=b'follow', | |
1007 ) | |
1008 coreconfigitem( | |
1009 b'phases', b'new-commit', default=b'draft', | |
1010 ) | |
1011 coreconfigitem( | |
1012 b'phases', b'publish', default=True, | |
1013 ) | |
1014 coreconfigitem( | |
1015 b'profiling', b'enabled', default=False, | |
1016 ) | |
1017 coreconfigitem( | |
1018 b'profiling', b'format', default=b'text', | |
1019 ) | |
1020 coreconfigitem( | |
1021 b'profiling', b'freq', default=1000, | |
1022 ) | |
1023 coreconfigitem( | |
1024 b'profiling', b'limit', default=30, | |
1025 ) | |
1026 coreconfigitem( | |
1027 b'profiling', b'nested', default=0, | |
1028 ) | |
1029 coreconfigitem( | |
1030 b'profiling', b'output', default=None, | |
1031 ) | |
1032 coreconfigitem( | |
1033 b'profiling', b'showmax', default=0.999, | |
1034 ) | |
1035 coreconfigitem( | |
1036 b'profiling', b'showmin', default=dynamicdefault, | |
1037 ) | |
1038 coreconfigitem( | |
1039 b'profiling', b'showtime', default=True, | |
1040 ) | |
1041 coreconfigitem( | |
1042 b'profiling', b'sort', default=b'inlinetime', | |
1043 ) | |
1044 coreconfigitem( | |
1045 b'profiling', b'statformat', default=b'hotpath', | |
1046 ) | |
1047 coreconfigitem( | |
1048 b'profiling', b'time-track', default=dynamicdefault, | |
1049 ) | |
1050 coreconfigitem( | |
1051 b'profiling', b'type', default=b'stat', | |
1052 ) | |
1053 coreconfigitem( | |
1054 b'progress', b'assume-tty', default=False, | |
1055 ) | |
1056 coreconfigitem( | |
1057 b'progress', b'changedelay', default=1, | |
1058 ) | |
1059 coreconfigitem( | |
1060 b'progress', b'clear-complete', default=True, | |
1061 ) | |
1062 coreconfigitem( | |
1063 b'progress', b'debug', default=False, | |
1064 ) | |
1065 coreconfigitem( | |
1066 b'progress', b'delay', default=3, | |
1067 ) | |
1068 coreconfigitem( | |
1069 b'progress', b'disable', default=False, | |
1070 ) | |
1071 coreconfigitem( | |
1072 b'progress', b'estimateinterval', default=60.0, | |
1073 ) | |
1074 coreconfigitem( | |
1075 b'progress', | |
1076 b'format', | |
1077 default=lambda: [b'topic', b'bar', b'number', b'estimate'], | |
1078 ) | |
1079 coreconfigitem( | |
1080 b'progress', b'refresh', default=0.1, | |
1081 ) | |
1082 coreconfigitem( | |
1083 b'progress', b'width', default=dynamicdefault, | |
1084 ) | |
1085 coreconfigitem( | |
1086 b'pull', b'confirm', default=False, | |
1087 ) | |
1088 coreconfigitem( | |
1089 b'push', b'pushvars.server', default=False, | |
1090 ) | |
1091 coreconfigitem( | |
1092 b'rewrite', | |
1093 b'backup-bundle', | |
1094 default=True, | |
1095 alias=[(b'ui', b'history-editing-backup')], | |
1096 ) | |
1097 coreconfigitem( | |
1098 b'rewrite', b'update-timestamp', default=False, | |
1099 ) | |
1100 coreconfigitem( | |
1101 b'rewrite', b'empty-successor', default=b'skip', experimental=True, | |
1102 ) | |
1103 coreconfigitem( | |
1104 b'storage', b'new-repo-backend', default=b'revlogv1', experimental=True, | |
1105 ) | |
1106 coreconfigitem( | |
1107 b'storage', | |
1108 b'revlog.optimize-delta-parent-choice', | |
1109 default=True, | |
1110 alias=[(b'format', b'aggressivemergedeltas')], | |
1111 ) | |
1112 # experimental as long as rust is experimental (or a C version is implemented) | |
1113 coreconfigitem( | |
1114 b'storage', b'revlog.nodemap.mmap', default=True, experimental=True | |
1115 ) | |
1116 # experimental as long as format.use-persistent-nodemap is. | |
1117 coreconfigitem( | |
1118 b'storage', b'revlog.nodemap.mode', default=b'compat', experimental=True | |
1119 ) | |
1120 coreconfigitem( | |
1121 b'storage', b'revlog.reuse-external-delta', default=True, | |
1122 ) | |
1123 coreconfigitem( | |
1124 b'storage', b'revlog.reuse-external-delta-parent', default=None, | |
1125 ) | |
1126 coreconfigitem( | |
1127 b'storage', b'revlog.zlib.level', default=None, | |
1128 ) | |
1129 coreconfigitem( | |
1130 b'storage', b'revlog.zstd.level', default=None, | |
1131 ) | |
1132 coreconfigitem( | |
1133 b'server', b'bookmarks-pushkey-compat', default=True, | |
1134 ) | |
1135 coreconfigitem( | |
1136 b'server', b'bundle1', default=True, | |
1137 ) | |
1138 coreconfigitem( | |
1139 b'server', b'bundle1gd', default=None, | |
1140 ) | |
1141 coreconfigitem( | |
1142 b'server', b'bundle1.pull', default=None, | |
1143 ) | |
1144 coreconfigitem( | |
1145 b'server', b'bundle1gd.pull', default=None, | |
1146 ) | |
1147 coreconfigitem( | |
1148 b'server', b'bundle1.push', default=None, | |
1149 ) | |
1150 coreconfigitem( | |
1151 b'server', b'bundle1gd.push', default=None, | |
1152 ) | |
1153 coreconfigitem( | |
1154 b'server', | |
1155 b'bundle2.stream', | |
1156 default=True, | |
1157 alias=[(b'experimental', b'bundle2.stream')], | |
1158 ) | |
1159 coreconfigitem( | |
1160 b'server', b'compressionengines', default=list, | |
1161 ) | |
1162 coreconfigitem( | |
1163 b'server', b'concurrent-push-mode', default=b'check-related', | |
1164 ) | |
1165 coreconfigitem( | |
1166 b'server', b'disablefullbundle', default=False, | |
1167 ) | |
1168 coreconfigitem( | |
1169 b'server', b'maxhttpheaderlen', default=1024, | |
1170 ) | |
1171 coreconfigitem( | |
1172 b'server', b'pullbundle', default=False, | |
1173 ) | |
1174 coreconfigitem( | |
1175 b'server', b'preferuncompressed', default=False, | |
1176 ) | |
1177 coreconfigitem( | |
1178 b'server', b'streamunbundle', default=False, | |
1179 ) | |
1180 coreconfigitem( | |
1181 b'server', b'uncompressed', default=True, | |
1182 ) | |
1183 coreconfigitem( | |
1184 b'server', b'uncompressedallowsecret', default=False, | |
1185 ) | |
1186 coreconfigitem( | |
1187 b'server', b'view', default=b'served', | |
1188 ) | |
1189 coreconfigitem( | |
1190 b'server', b'validate', default=False, | |
1191 ) | |
1192 coreconfigitem( | |
1193 b'server', b'zliblevel', default=-1, | |
1194 ) | |
1195 coreconfigitem( | |
1196 b'server', b'zstdlevel', default=3, | |
1197 ) | |
1198 coreconfigitem( | |
1199 b'share', b'pool', default=None, | |
1200 ) | |
1201 coreconfigitem( | |
1202 b'share', b'poolnaming', default=b'identity', | |
1203 ) | |
1204 coreconfigitem( | |
1205 b'shelve', b'maxbackups', default=10, | |
1206 ) | |
1207 coreconfigitem( | |
1208 b'smtp', b'host', default=None, | |
1209 ) | |
1210 coreconfigitem( | |
1211 b'smtp', b'local_hostname', default=None, | |
1212 ) | |
1213 coreconfigitem( | |
1214 b'smtp', b'password', default=None, | |
1215 ) | |
1216 coreconfigitem( | |
1217 b'smtp', b'port', default=dynamicdefault, | |
1218 ) | |
1219 coreconfigitem( | |
1220 b'smtp', b'tls', default=b'none', | |
1221 ) | |
1222 coreconfigitem( | |
1223 b'smtp', b'username', default=None, | |
1224 ) | |
1225 coreconfigitem( | |
1226 b'sparse', b'missingwarning', default=True, experimental=True, | |
1227 ) | |
1228 coreconfigitem( | |
1229 b'subrepos', | |
1230 b'allowed', | |
1231 default=dynamicdefault, # to make backporting simpler | |
1232 ) | |
1233 coreconfigitem( | |
1234 b'subrepos', b'hg:allowed', default=dynamicdefault, | |
1235 ) | |
1236 coreconfigitem( | |
1237 b'subrepos', b'git:allowed', default=dynamicdefault, | |
1238 ) | |
1239 coreconfigitem( | |
1240 b'subrepos', b'svn:allowed', default=dynamicdefault, | |
1241 ) | |
1242 coreconfigitem( | |
1243 b'templates', b'.*', default=None, generic=True, | |
1244 ) | |
1245 coreconfigitem( | |
1246 b'templateconfig', b'.*', default=dynamicdefault, generic=True, | |
1247 ) | |
1248 coreconfigitem( | |
1249 b'trusted', b'groups', default=list, | |
1250 ) | |
1251 coreconfigitem( | |
1252 b'trusted', b'users', default=list, | |
1253 ) | |
1254 coreconfigitem( | |
1255 b'ui', b'_usedassubrepo', default=False, | |
1256 ) | |
1257 coreconfigitem( | |
1258 b'ui', b'allowemptycommit', default=False, | |
1259 ) | |
1260 coreconfigitem( | |
1261 b'ui', b'archivemeta', default=True, | |
1262 ) | |
1263 coreconfigitem( | |
1264 b'ui', b'askusername', default=False, | |
1265 ) | |
1266 coreconfigitem( | |
1267 b'ui', b'available-memory', default=None, | |
1268 ) | |
1269 | |
1270 coreconfigitem( | |
1271 b'ui', b'clonebundlefallback', default=False, | |
1272 ) | |
1273 coreconfigitem( | |
1274 b'ui', b'clonebundleprefers', default=list, | |
1275 ) | |
1276 coreconfigitem( | |
1277 b'ui', b'clonebundles', default=True, | |
1278 ) | |
1279 coreconfigitem( | |
1280 b'ui', b'color', default=b'auto', | |
1281 ) | |
1282 coreconfigitem( | |
1283 b'ui', b'commitsubrepos', default=False, | |
1284 ) | |
1285 coreconfigitem( | |
1286 b'ui', b'debug', default=False, | |
1287 ) | |
1288 coreconfigitem( | |
1289 b'ui', b'debugger', default=None, | |
1290 ) | |
1291 coreconfigitem( | |
1292 b'ui', b'editor', default=dynamicdefault, | |
1293 ) | |
1294 coreconfigitem( | |
1295 b'ui', b'fallbackencoding', default=None, | |
1296 ) | |
1297 coreconfigitem( | |
1298 b'ui', b'forcecwd', default=None, | |
1299 ) | |
1300 coreconfigitem( | |
1301 b'ui', b'forcemerge', default=None, | |
1302 ) | |
1303 coreconfigitem( | |
1304 b'ui', b'formatdebug', default=False, | |
1305 ) | |
1306 coreconfigitem( | |
1307 b'ui', b'formatjson', default=False, | |
1308 ) | |
1309 coreconfigitem( | |
1310 b'ui', b'formatted', default=None, | |
1311 ) | |
1312 coreconfigitem( | |
1313 b'ui', b'interactive', default=None, | |
1314 ) | |
1315 coreconfigitem( | |
1316 b'ui', b'interface', default=None, | |
1317 ) | |
1318 coreconfigitem( | |
1319 b'ui', b'interface.chunkselector', default=None, | |
1320 ) | |
1321 coreconfigitem( | |
1322 b'ui', b'large-file-limit', default=10000000, | |
1323 ) | |
1324 coreconfigitem( | |
1325 b'ui', b'logblockedtimes', default=False, | |
1326 ) | |
1327 coreconfigitem( | |
1328 b'ui', b'merge', default=None, | |
1329 ) | |
1330 coreconfigitem( | |
1331 b'ui', b'mergemarkers', default=b'basic', | |
1331 ) | 1332 ) |
1332 coreconfigitem( | 1333 coreconfigitem( |
1333 b'ui', b'message-output', default=b'stdio', | 1334 b'ui', b'message-output', default=b'stdio', |
1334 ) | 1335 ) |
1335 coreconfigitem( | 1336 coreconfigitem( |