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