# HG changeset patch # User Steve Borho # Date 1204028711 21600 # Node ID 7f9f3233a2c6aefeac05046ab882fe7cafd76069 # Parent 434139080ed4007d99e843b203c7da0850238744 add explicit extension disabling syntax to hgrc.5 diff -r 434139080ed4 -r 7f9f3233a2c6 doc/hgrc.5.txt --- a/doc/hgrc.5.txt Mon Jan 28 22:19:12 2008 -0500 +++ b/doc/hgrc.5.txt Tue Feb 26 06:25:11 2008 -0600 @@ -216,6 +216,10 @@ 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]