Debian Codegraph @

doc/man/hg-config.1

raw
1 .TH HG CONFIG "" "" ""
2 .SH NAME
3 hg config \- show combined config settings from all hgrc files
4 .\" Man page generated from reStructuredText.
5 .
6 .SH SYNOPSIS
7 .sp
8 .nf
9 .ft C
10 hg config [\-u] [NAME]...
11 .ft P
12 .fi
13 .SH DESCRIPTION
14 .sp
15 With no arguments, print names and values of all config items.
16 .sp
17 With one argument of the form section.name, print just the value
18 of that config item.
19 .sp
20 With multiple arguments, print names and values of all config
21 items with matching section names or section.names.
22 .sp
23 With \-\-edit, start an editor on the user\-level config file. With
24 \-\-global, edit the system\-wide config file. With \-\-local, edit the
25 repository\-level config file.
26 .sp
27 With \-\-source, the source (filename and line number) is printed
28 for each config item.
29 .sp
30 See \%\fBhg help config\fP\: for more information about config files.
31 .sp
32 \-\-non\-shared flag is used to edit \fI.hg/hgrc\-not\-shared\fP config file.
33 This file is not shared across shares when in share\-safe mode.
34 .sp
35 Template:
36 .sp
37 The following keywords are supported. See also \%\fBhg help templates\fP\:.
38 .INDENT 0.0
39 .TP
40 .B name
41 .
42 String. Config name.
43 .TP
44 .B source
45 .
46 String. Filename and line number where the item is defined.
47 .TP
48 .B value
49 .
50 String. Config value.
51 .UNINDENT
52 .sp
53 The \-\-shared flag can be used to edit the config file of shared source
54 repository. It only works when you have shared using the experimental
55 share safe feature.
56 .sp
57 Returns 0 on success, 1 if NAME does not exist.
58 .SH OPTIONS
59 .INDENT 0.0
60 .TP
61 .B \-u, \-\-untrusted
62 .
63 show untrusted configuration options
64 .TP
65 .B \-\-exp\-all\-known
66 .
67 show all known config option (EXPERIMENTAL)
68 .TP
69 .B \-e, \-\-edit
70 .
71 edit user config
72 .TP
73 .B \-l, \-\-local
74 .
75 edit repository config
76 .TP
77 .B \-\-source
78 .
79 show source of configuration value
80 .TP
81 .B \-\-shared
82 .
83 edit shared source repository config
84 .TP
85 .B \-\-non\-shared
86 .
87 edit non shared config
88 .TP
89 .B \-g, \-\-global
90 .
91 edit global config
92 .TP
93 .BI \-T, \-\-template \ <TEMPLATE>
94 .
95 display with template
96 .UNINDENT
97 .SH ALIASES
98 .sp
99 .nf
100 .ft C
101 showconfig, debugconfig
102 .ft P
103 .fi
104 .\" Generated by docutils manpage writer.
105 .\"
106 .