Mercurial > hg > mercurial-crew-with-dirclash
diff doc/hgrc.5.txt @ 2387:62ce297f214f
Expand '~' in path to extensions.
author | Markus F.X.J. Oberhumer <markus@oberhumer.com> |
---|---|
date | Thu, 01 Jun 2006 15:53:43 -0700 |
parents | 8819fc1dcf4b |
children | 4ccd71b83d5e |
line wrap: on
line diff
--- a/doc/hgrc.5.txt +++ b/doc/hgrc.5.txt @@ -165,6 +165,14 @@ extensions:: the path to the ".py" file (including the file name extension) that defines the extension. + Example for ~/.hgrc: + + [extensions] + # (the mq extension will get loaded from mercurial's path) + hgext.mq = + # (this extension will get loaded from the file specified) + myfeature = ~/.hgext/myfeature.py + hooks:: Commands or Python functions that get automatically executed by various actions such as starting or finishing a commit. Multiple