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

FreeBSD Manual Pages

  
 
  

home | help
SVN::Hooks::CheckLog(3User Contributed Perl DocumentatiSVN::Hooks::CheckLog(3)

NAME
       SVN::Hooks::CheckLog - Check log	messages in commits.

VERSION
       version 1.34

SYNOPSIS
       This SVN::Hooks plugin allows one to check if the log message in	a 'svn
       commit' conforms	to a Regexp.

       It's active in the "pre-commit" hook.

       It's configured by the following	directive.

   CHECK_LOG(REGEXP[, MESSAGE])
       The REGEXP argument must	be a qr/quoted regexp/ which must match	the
       commit log messages. If it doesn't, then	the commit is aborted.

       The MESSAGE argument is an optional error message that is shown to the
       user in case the	check fails.

	       CHECK_LOG(qr/.../ => "The log message cannot be empty!");
	       CHECK_LOG(qr/^\[(prj1|prj2|prj3)\]/
			 => "The log message must start	with a project tag.");

AUTHOR
       Gustavo L. de M.	Chaves <gnustavo@cpan.org>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2016 by CPqD <www.cpqd.com.br>.

       This is free software; you can redistribute it and/or modify it under
       the same	terms as the Perl 5 programming	language system	itself.

perl v5.24.1			  2016-11-10	       SVN::Hooks::CheckLog(3)

NAME | VERSION | SYNOPSIS | AUTHOR | COPYRIGHT AND LICENSE

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

home | help