Show More
@@ -75,8 +75,8 b' ones.' | |||||
75 | SYNTAX |
|
75 | SYNTAX | |
76 | ------ |
|
76 | ------ | |
77 |
|
77 | |||
78 | A configuration file consists of sections, led by a "[section]" header |
|
78 | A configuration file consists of sections, led by a "`[section]`" header | |
79 | and followed by "name: value" entries; "name=value" is also accepted. |
|
79 | and followed by "`name: value`" entries; "`name=value`" is also accepted. | |
80 |
|
80 | |||
81 | [spam] |
|
81 | [spam] | |
82 | eggs=ham |
|
82 | eggs=ham | |
@@ -91,7 +91,7 b' Leading whitespace is removed from value' | |||||
91 | The optional values can contain format strings which refer to other |
|
91 | The optional values can contain format strings which refer to other | |
92 | values in the same section, or values in a special DEFAULT section. |
|
92 | values in the same section, or values in a special DEFAULT section. | |
93 |
|
93 | |||
94 | Lines beginning with "#" or ";" are ignored and may be used to provide |
|
94 | Lines beginning with "`#`" or "`;`" are ignored and may be used to provide | |
95 | comments. |
|
95 | comments. | |
96 |
|
96 | |||
97 | SECTIONS |
|
97 | SECTIONS | |
@@ -331,16 +331,16 b' extensions::' | |||||
331 | + |
|
331 | + | |
332 | -- |
|
332 | -- | |
333 | If you know that the extension is already in Python's search path, |
|
333 | If you know that the extension is already in Python's search path, | |
334 | you can give the name of the module, followed by "=", with nothing |
|
334 | you can give the name of the module, followed by "`=`", with nothing | |
335 | after the "=". |
|
335 | after the "`=`". | |
336 |
|
336 | |||
337 | Otherwise, give a name that you choose, followed by "=", followed by |
|
337 | Otherwise, give a name that you choose, followed by "`=`", followed by | |
338 | the path to the ".py" file (including the file name extension) that |
|
338 | the path to the "`.py`" file (including the file name extension) that | |
339 | defines the extension. |
|
339 | defines the extension. | |
340 |
|
340 | |||
341 | To explicitly disable an extension that is enabled in an hgrc of |
|
341 | To explicitly disable an extension that is enabled in an hgrc of | |
342 |
broader scope, prepend its path with |
|
342 | broader scope, prepend its path with "`!`", as in | |
343 |
|
|
343 | "`hgext.foo = !/ext/path`" or "`hgext.foo = !`" when path is not | |
344 | supplied. |
|
344 | supplied. | |
345 |
|
345 | |||
346 | Example for `~/.hgrc`: |
|
346 | Example for `~/.hgrc`: |
General Comments 0
You need to be logged in to leave comments.
Login now