changeset 2211:b8b7a79a4d88

document [extensions] in doc/hgrc.5.txt.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 04 May 2006 22:38:14 -0700
parents 1ec3bd7efcfe
children 8164e3f31638
files doc/hgrc.5.txt
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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