Debian Codegraph @

doc/html/hg-config.html

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" />
7 <title>hg config</title>
8 <link rel="stylesheet" href="../style.css" type="text/css" />
9 </head>
10 <body>
11 <div class="document" id="hg-config">
12 <span id="hg-config-1"></span>
13 <h1 class="title">hg config</h1>
14 <h2 class="subtitle" id="show-combined-config-settings-from-all-hgrc-files">show combined config settings from all hgrc files</h2>
15
16 <div class="contents htmlonly topic" id="contents">
17 <p class="topic-title"><a class="reference internal" href="#top">Contents</a></p>
18 <ul class="simple">
19 <li><a class="reference internal" href="#synopsis" id="toc-entry-1">Synopsis</a></li>
20 <li><a class="reference internal" href="#description" id="toc-entry-2">Description</a></li>
21 <li><a class="reference internal" href="#options" id="toc-entry-3">Options</a></li>
22 <li><a class="reference internal" href="#aliases" id="toc-entry-4">Aliases</a></li>
23 </ul>
24 </div>
25 <div class="section" id="synopsis">
26 <h1><a class="toc-backref" href="#contents">Synopsis</a></h1>
27 <pre class="literal-block">
28 hg config [-u] [NAME]...
29 </pre>
30 </div>
31 <div class="section" id="description">
32 <h1><a class="toc-backref" href="#contents">Description</a></h1>
33 <p>With no arguments, print names and values of all config items.</p>
34 <p>With one argument of the form section.name, print just the value
35 of that config item.</p>
36 <p>With multiple arguments, print names and values of all config
37 items with matching section names or section.names.</p>
38 <p>With --edit, start an editor on the user-level config file. With
39 --global, edit the system-wide config file. With --local, edit the
40 repository-level config file.</p>
41 <p>With --source, the source (filename and line number) is printed
42 for each config item.</p>
43 <p>See <a class="reference external" href="hgrc.5.html"><tt class="docutils literal">hg help config</tt></a> for more information about config files.</p>
44 <div class="verbose docutils container">
45 <p>--non-shared flag is used to edit <cite>.hg/hgrc-not-shared</cite> config file.
46 This file is not shared across shares when in share-safe mode.</p>
47 <p>Template:</p>
48 <p>The following keywords are supported. See also <a class="reference external" href="hg.1.html#templates"><tt class="docutils literal">hg help templates</tt></a>.</p>
49 <table class="docutils field-list" frame="void" rules="none">
50 <col class="field-name" />
51 <col class="field-body" />
52 <tbody valign="top">
53 <tr class="field"><th class="field-name">name:</th><td class="field-body">String. Config name.</td>
54 </tr>
55 <tr class="field"><th class="field-name">source:</th><td class="field-body">String. Filename and line number where the item is defined.</td>
56 </tr>
57 <tr class="field"><th class="field-name">value:</th><td class="field-body">String. Config value.</td>
58 </tr>
59 </tbody>
60 </table>
61 <p>The --shared flag can be used to edit the config file of shared source
62 repository. It only works when you have shared using the experimental
63 share safe feature.</p>
64 </div>
65 <p>Returns 0 on success, 1 if NAME does not exist.</p>
66 </div>
67 <div class="section" id="options">
68 <h1><a class="toc-backref" href="#contents">Options</a></h1>
69 <table class="docutils option-list" frame="void" rules="none">
70 <col class="option" />
71 <col class="description" />
72 <tbody valign="top">
73 <tr><td class="option-group" colspan="2">
74 <kbd><span class="option">-u</span>, <span class="option">--untrusted</span></kbd></td>
75 </tr>
76 <tr><td>&nbsp;</td><td>show untrusted configuration options</td></tr>
77 <tr><td class="option-group" colspan="2">
78 <kbd><span class="option">--exp-all-known</span></kbd></td>
79 </tr>
80 <tr><td>&nbsp;</td><td>show all known config option (EXPERIMENTAL)</td></tr>
81 <tr><td class="option-group">
82 <kbd><span class="option">-e</span>, <span class="option">--edit</span></kbd></td>
83 <td>edit user config</td></tr>
84 <tr><td class="option-group">
85 <kbd><span class="option">-l</span>, <span class="option">--local</span></kbd></td>
86 <td>edit repository config</td></tr>
87 <tr><td class="option-group">
88 <kbd><span class="option">--source</span></kbd></td>
89 <td>show source of configuration value</td></tr>
90 <tr><td class="option-group">
91 <kbd><span class="option">--shared</span></kbd></td>
92 <td>edit shared source repository config</td></tr>
93 <tr><td class="option-group">
94 <kbd><span class="option">--non-shared</span></kbd></td>
95 <td>edit non shared config</td></tr>
96 <tr><td class="option-group">
97 <kbd><span class="option">-g</span>, <span class="option">--global</span></kbd></td>
98 <td>edit global config</td></tr>
99 <tr><td class="option-group" colspan="2">
100 <kbd><span class="option">-T</span>, <span class="option">--template <var>&lt;TEMPLATE&gt;</var></span></kbd></td>
101 </tr>
102 <tr><td>&nbsp;</td><td>display with template</td></tr>
103 </tbody>
104 </table>
105 </div>
106 <div class="section" id="aliases">
107 <h1><a class="toc-backref" href="#contents">Aliases</a></h1>
108 <pre class="literal-block">
109 showconfig, debugconfig
110 </pre>
111 </div>
112 </div>
113 </body>
114 </html>