Mercurial > hg-stable
changeset 13904:5065e120636d stable
hgrc.5: drop 'hgext.' prefix when talking about extensions
The first paragraph apply to all extensions, not just those in hgext.
The second paragraph can just use the simpler form to load mq.
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Thu, 07 Apr 2011 11:17:55 +0200 |
parents | d3890ead75be |
children | 08d49b6b8d32 |
files | doc/hgrc.5.txt |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/hgrc.5.txt Wed Apr 06 15:13:49 2011 -0500 +++ b/doc/hgrc.5.txt Thu Apr 07 11:17:55 2011 +0200 @@ -412,15 +412,14 @@ defines the extension. To explicitly disable an extension that is enabled in an hgrc of -broader scope, prepend its path with ``!``, as in -``hgext.foo = !/ext/path`` or ``hgext.foo = !`` when path is not -supplied. +broader scope, prepend its path with ``!``, as in ``foo = !/ext/path`` +or ``foo = !`` when path is not supplied. Example for ``~/.hgrc``:: [extensions] # (the mq extension will get loaded from Mercurial's path) - hgext.mq = + mq = # (this extension will get loaded from the file specified) myfeature = ~/.hgext/myfeature.py