Ivan Ivanov wrote: > So my quiestions are > 1) What regular expression should stay in my verifymsg > file To expand on Mark's reply a little: the regular expression is used to determine which script, if any, will be run, based on the directory you're checking in. For example, if you had:
^projectX $CVSROOT/CVSROOT/check_projectX.sh ^projectY $CVSROOT/CVSROOT/check_projectY.sh then, when you checked in anything in the projectX directory, the script check_projectX.sh will run. > 2) How should I make the check for an empty log > message? I know it could done in a .sh file for > example. See Mark's example. Unfortunately, though, you may be wasting effort. There's nothing to stop someone from issuing the command: cvs ci -m blah or cvs ci -m"Making changes" The problem is, the script cannot check for *meaningful* log entries. Only education and special tools (rubber hoses, baseball bats, etc.) can do that (Just kidding about the tools!). > 3) Where should I place this .sh file in my > filesystem? As Mark said, anywhere you want. The verifymsg file tells CVS precisely where to find it. -- Jim Hyslop Senior Software Designer Leitch Technology International Inc. (http://www.leitch.com) Columnist, C/C++ Users Journal (http://www.cuj.com/experts) _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
