svnhook man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

SVNHOOK(1)	      User Contributed Perl Documentation	    SVNHOOK(1)

NAME
       svnhook - Managing subversion hooks

SYNOPSIS
	 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

DESCRIPTION
       "svnhook init" initializes a repository to be managed by SVN::Hook.
       Currently it doesn't work if you have existing hooks.

       The hook is essentially redispatching to what's 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
       it's 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 directory.

LICENSE
       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

	   http://www.apache.org/licenses/LICENSE-2.0

       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.

AUTHORS
       Chia-liang Kao <clkao@bestpractical.com<gt>

perl v5.20.2			  2007-09-13			    SVNHOOK(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net