Mercurial > hg
comparison doc/hgrc.5.txt @ 6175:7f9f3233a2c6
add explicit extension disabling syntax to hgrc.5
author | Steve Borho <steve@borho.org> |
---|---|
date | Tue, 26 Feb 2008 06:25:11 -0600 |
parents | 50a277e6ceae |
children | 0750e4ba9d3d |
comparison
equal
deleted
inserted
replaced
6174:434139080ed4 | 6175:7f9f3233a2c6 |
---|---|
213 after the "=". | 213 after the "=". |
214 | 214 |
215 Otherwise, give a name that you choose, followed by "=", followed by | 215 Otherwise, give a name that you choose, followed by "=", followed by |
216 the path to the ".py" file (including the file name extension) that | 216 the path to the ".py" file (including the file name extension) that |
217 defines the extension. | 217 defines the extension. |
218 | |
219 To explicitly disable an extension that is enabled in an hgrc of | |
220 broader scope, prepend its path with '!', as in | |
221 'hgext.foo = !/ext/path' or 'hgext.foo = !' when no path is supplied. | |
218 | 222 |
219 Example for ~/.hgrc: | 223 Example for ~/.hgrc: |
220 | 224 |
221 [extensions] | 225 [extensions] |
222 # (the mq extension will get loaded from mercurial's path) | 226 # (the mq extension will get loaded from mercurial's path) |