[PATCH] extensions help: make disabling example analogous to enabling example

Christian Ebert blacktrash at gmx.net
Tue Dec 22 12:23:34 CST 2009


# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1261506113 0
# Node ID e2c20104a7ff1cc0b0f2bb2af79c442e14f203db
# Parent  f76984a27b3dfdfda17ef93683a3cb9a04e2dc43
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.

diff --git a/mercurial/help/extensions.txt b/mercurial/help/extensions.txt
--- a/mercurial/help/extensions.txt
+++ b/mercurial/help/extensions.txt
@@ -30,4 +30,4 @@
   # disabling extension bar residing in /path/to/extension/bar.py
   hgext.bar = !/path/to/extension/bar.py
   # ditto, but no path was supplied for extension baz
-  hgext.baz = !
+  baz = !


More information about the Mercurial-devel mailing list