[PATCH] add explicit extension disabling syntax to hgrc.5

Steve Borho steve at borho.org
Tue Feb 26 06:34:20 CST 2008


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1204028711 21600
# Node ID 96ef88ccbcb0e790b25f5c4eecbe2bd29033287e
# Parent  434139080ed4007d99e843b203c7da0850238744
add explicit extension disabling syntax to hgrc.5

diff --git a/doc/hgrc.5.txt b/doc/hgrc.5.txt
--- a/doc/hgrc.5.txt
+++ b/doc/hgrc.5.txt
@@ -215,6 +215,9 @@
   Otherwise, give a name that you choose, followed by "=", followed by
   the path to the ".py" file (including the file name extension) that
   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 = !'.
 
   Example for ~/.hgrc:
 


More information about the Mercurial-devel mailing list