Query: svn::hooks::checklog
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SVN::Hooks::CheckLog(3pm) User Contributed Perl Documentation SVN::Hooks::CheckLog(3pm)NAMESVN::Hooks::CheckLog - Check log messages in commits.VERSIONversion 1.19SYNOPSISThis 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.");AUTHORGustavo L. de M. Chaves <gnustavo@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2012 by CPqD. 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.14.2 2012-06-24 SVN::Hooks::CheckLog(3pm)
Similar Topics in the Unix Linux Community |
---|
One instance of comparing grep and awk |
Find columns in a file based on header and print to new file |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |