# HG changeset patch # User Vadim Gelfer # Date 1146807494 25200 # Node ID b8b7a79a4d8823acd9a7527a234577cb60873b9a # Parent 1ec3bd7efcfeb1cd5cb8919fa805ed11a77e576d document [extensions] in doc/hgrc.5.txt. diff -r 1ec3bd7efcfe -r b8b7a79a4d88 doc/hgrc.5.txt --- a/doc/hgrc.5.txt Thu May 04 22:23:18 2006 -0700 +++ b/doc/hgrc.5.txt Thu May 04 22:38:14 2006 -0700 @@ -136,6 +136,18 @@ Optional. Email address to use in "From" header and SMTP envelope of outgoing messages. +extensions:: + Mercurial has an extension mechanism for adding new features. To + enable an extension, create an entry for it in this section. + + If you know that the extension is already in Python's search path, + you can give the name of the module, followed by "=", with nothing + after the "=". + + 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. + hooks:: Commands or Python functions that get automatically executed by various actions such as starting or finishing a commit. Multiple