Manual Reference Pages - SVNHOOK (1)
svnhook - Managing subversion hooks
svnhook init /path/to/repos # enables svnhook for all hooks
svnhook init /path/to/repos pre-commit # or just one
svnhook list /path/to/repos pre-commit
svnhook init initializes a repository to be managed by SVN::Hook.
Currently it doesnt work if you have existing hooks.
The hook is essentially redispatching to whats under the _hook_name
directory, for example _pre-commit/ for pre-commit hooks. Files under
the directory are invoked in their shell globbing sequence. Unless
its a post- hook, a failed hook terminates svnhook and returns
failure to svn. A file ended with - is treated as a disabled hook
and is not run.
If you look at the hook script itself, you will find a hash table you
can edit to provided fine-grained mapping for commits under a certian
directroy to also run scripts under the corresponding script
Copyright 2007 Best Practical Solutions, LLC.
Licensed under the Apache License, Version 2.0 (the License);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an AS IS BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Chia-liang Kao <firstname.lastname@example.org<gt>
|perl v5.20.3 ||SVNHOOK (1) ||2007-09-13 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.