Show More
@@ -90,7 +90,8 Syntax | |||
|
90 | 90 | ------ |
|
91 | 91 | |
|
92 | 92 | A configuration file consists of sections, led by a ``[section]`` header |
|
93 |
and followed by ``name = value`` entries |
|
|
93 | and followed by ``name = value`` entries (sometimes called | |
|
94 | ``configuration keys``):: | |
|
94 | 95 | |
|
95 | 96 | [spam] |
|
96 | 97 | eggs=ham |
@@ -102,6 +103,16 they are treated as continuations of tha | |||
|
102 | 103 | removed from values. Empty lines are skipped. Lines beginning with |
|
103 | 104 | ``#`` or ``;`` are ignored and may be used to provide comments. |
|
104 | 105 | |
|
106 | Configuration keys can be set multiple times, in which case mercurial | |
|
107 | will use the value that was configured last. As an example:: | |
|
108 | ||
|
109 | [spam] | |
|
110 | eggs=large | |
|
111 | ham=serrano | |
|
112 | eggs=small | |
|
113 | ||
|
114 | This would set the configuration key named ``eggs`` to ``small``. | |
|
115 | ||
|
105 | 116 | A line of the form ``%include file`` will include ``file`` into the |
|
106 | 117 | current configuration file. The inclusion is recursive, which means |
|
107 | 118 | that included files can include other files. Filenames are relative to |
General Comments 0
You need to be logged in to leave comments.
Login now