Use an even smarter way of including additional resources for monotone

by using a wildcard dir matcher and document this accordingly.
This commit is contained in:
Thomas Keller
2010-10-30 22:09:55 +00:00
parent 612d00ade2
commit 039ae01cfa
3 changed files with 25 additions and 8 deletions

View File

@@ -199,7 +199,7 @@ somewhere else for backup purposes. The monotone source tree already comes
with [many example scripts and hooks](http://code.monotone.ca/p/monotone/source/tree/h:net.venge.monotone/contrib)
which serve these purposes, after only little additional configuration.
The usher/indefero-controlled setup automatically looks for a file called
`hooks.lua` in the project's base directory (configured via $cfg['mtn_repositories'])
and this is the ideal place to put or link these additional lua sources.
The usher/indefero-controlled setup automatically looks for *.lua files
in a directory called `hooks.d` right under the project's base directory
(configured via $cfg['mtn_repositories']) and this is the ideal place to
put or link these additional lua sources.