Mercurial > hg > mercurial-crew-with-dirclash
comparison 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 |
comparison
equal
deleted
inserted
replaced
2362:482d3fb47d80 | 2387:62ce297f214f |
---|---|
162 after the "=". | 162 after the "=". |
163 | 163 |
164 Otherwise, give a name that you choose, followed by "=", followed by | 164 Otherwise, give a name that you choose, followed by "=", followed by |
165 the path to the ".py" file (including the file name extension) that | 165 the path to the ".py" file (including the file name extension) that |
166 defines the extension. | 166 defines the extension. |
167 | |
168 Example for ~/.hgrc: | |
169 | |
170 [extensions] | |
171 # (the mq extension will get loaded from mercurial's path) | |
172 hgext.mq = | |
173 # (this extension will get loaded from the file specified) | |
174 myfeature = ~/.hgext/myfeature.py | |
167 | 175 |
168 hooks:: | 176 hooks:: |
169 Commands or Python functions that get automatically executed by | 177 Commands or Python functions that get automatically executed by |
170 various actions such as starting or finishing a commit. Multiple | 178 various actions such as starting or finishing a commit. Multiple |
171 hooks can be run for the same action by appending a suffix to the | 179 hooks can be run for the same action by appending a suffix to the |