Mercurial > hg
comparison mercurial/configitems.toml @ 50765:7f8f6fe13fa9
configitems: move blackbox's config items to the new configitems.toml
In order for the Rust code to gain access to default values of in-core
extensions that have a Rust implementation, we need to centralize them
alongside the core items declarations.
This is the first and so far only one of the extensions that have gained
Rust support, I don't think it's worth the churn to move the rest of the
extension's configitems yet.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 05 Jul 2023 23:59:22 +0200 |
parents | c51b178b0b7e |
children | 50334ab5e5bb |
comparison
equal
deleted
inserted
replaced
50764:8ff187fbbfea | 50765:7f8f6fe13fa9 |
---|---|
21 # - generic: boolean | 21 # - generic: boolean |
22 # - priority: integer, only if `generic` is true | 22 # - priority: integer, only if `generic` is true |
23 # - alias: list of 2-tuples of strings | 23 # - alias: list of 2-tuples of strings |
24 # - experimental: boolean | 24 # - experimental: boolean |
25 # - documentation: string | 25 # - documentation: string |
26 # - in_core_extension: string | |
26 # | 27 # |
27 # ## Template | 28 # ## Template |
28 # | 29 # |
29 # Declares a group of options to be re-used for multiple sections. | 30 # Declares a group of options to be re-used for multiple sections. |
30 # | 31 # |
2693 | 2694 |
2694 [[items]] | 2695 [[items]] |
2695 section = "worker" | 2696 section = "worker" |
2696 name = "numcpus" | 2697 name = "numcpus" |
2697 | 2698 |
2699 # Templates and template applications | |
2700 | |
2698 [[template-applications]] | 2701 [[template-applications]] |
2699 template = "diff-options" | 2702 template = "diff-options" |
2700 section = "annotate" | 2703 section = "annotate" |
2701 | 2704 |
2702 [[template-applications]] | 2705 [[template-applications]] |
2755 | 2758 |
2756 [[templates.diff-options]] | 2759 [[templates.diff-options]] |
2757 suffix = "word-diff" | 2760 suffix = "word-diff" |
2758 default = false | 2761 default = false |
2759 | 2762 |
2763 # In-core extensions | |
2764 | |
2765 [[items]] | |
2766 section = "blackbox" | |
2767 name = "dirty" | |
2768 default = false | |
2769 in_core_extension = "blackbox" | |
2770 | |
2771 [[items]] | |
2772 section = "blackbox" | |
2773 name = "maxsize" | |
2774 default = "1 MB" | |
2775 in_core_extension = "blackbox" | |
2776 | |
2777 [[items]] | |
2778 section = "blackbox" | |
2779 name = "logsource" | |
2780 default = false | |
2781 in_core_extension = "blackbox" | |
2782 | |
2783 [[items]] | |
2784 section = "blackbox" | |
2785 name = "maxfiles" | |
2786 default = 7 | |
2787 in_core_extension = "blackbox" | |
2788 | |
2789 [[items]] | |
2790 section = "blackbox" | |
2791 name = "track" | |
2792 default-type = "lambda" | |
2793 default = ["*"] | |
2794 in_core_extension = "blackbox" | |
2795 | |
2796 [[items]] | |
2797 section = "blackbox" | |
2798 name = "ignore" | |
2799 default-type = "lambda" | |
2800 default = ["chgserver", "cmdserver", "extension"] | |
2801 in_core_extension = "blackbox" | |
2802 | |
2803 [[items]] | |
2804 section = "blackbox" | |
2805 name = "date-format" | |
2806 default = "" | |
2807 in_core_extension = "blackbox" |