--- 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