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

Martin Geisler mg at lazybytes.net
Wed Dec 23 11:46:10 CST 2009


Christian Ebert <blacktrash at gmx.net> writes:

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

Thanks, it's in the stable branch (0ddbc0299742).

> 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

I took the liberty of updating that line too :-)

>    # ditto, but no path was supplied for extension baz
> -  hgext.baz = !
> +  baz = !

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20091223/29bd5340/attachment.pgp>


More information about the Mercurial-devel mailing list