comparison help/extensions.txt @ 10122:0ddbc0299742 stable

extensions help: make disabling example analogous to enabling example The example for enabling an extension in the module search path is: foo = foo can only be disabled by: foo = ! and not by: hgext.foo = ! As the examples now omit "hgext." the example hgext.bar = ! is misleading.
author Christian Ebert <blacktrash@gmx.net>
date Wed, 23 Dec 2009 18:40:21 +0100
parents cad36e496640
children
comparison
equal deleted inserted replaced
10120:fb890a546d44 10122:0ddbc0299742
26 To explicitly disable an extension enabled in an hgrc of broader 26 To explicitly disable an extension enabled in an hgrc of broader
27 scope, prepend its path with !:: 27 scope, prepend its path with !::
28 28
29 [extensions] 29 [extensions]
30 # disabling extension bar residing in /path/to/extension/bar.py 30 # disabling extension bar residing in /path/to/extension/bar.py
31 hgext.bar = !/path/to/extension/bar.py 31 bar = !/path/to/extension/bar.py
32 # ditto, but no path was supplied for extension baz 32 # ditto, but no path was supplied for extension baz
33 hgext.baz = ! 33 baz = !