# HG changeset patch # User Steve Borho # Date 2008-02-26 12:25:11 # Node ID 7f9f3233a2c6aefeac05046ab882fe7cafd76069 # 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 @@ -216,6 +216,10 @@ extensions:: 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 = !/ext/path' or 'hgext.foo = !' when no path is supplied. + Example for ~/.hgrc: [extensions]