Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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.24.1			  2007-09-13			    SVNHOOK(1)

NAME | SYNOPSIS | DESCRIPTION | LICENSE | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=svnhook&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help