[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reject cvs commits with empty log messages
From: |
Ivan Ivanov |
Subject: |
Reject cvs commits with empty log messages |
Date: |
Wed, 2 Jun 2004 00:10:35 -0700 (PDT) |
Dear colleagues,
I am fairly new to cvs administration, although I use
cvs constantly. I would like to know how I can
configure my cvs server so that it rejects commits
that have empty log messages, i.e. when one tries
cvs commit -m "" myfile.txt
myfile.txt won't be committed in the repository.
I checked the Cederqvist and that this can be done
with
verifymesg and rcsinfo files. I also tried the sample
given there but didn't get them to work.
According to the manual "Each line in the `verifymsg'
file consists of a regular expression and a
command-line template. The template must include a
program name, and can include any number of arguments.
The full path to the current log message template file
is appended to the template."
So my quiestions are
1) What regular expression should stay in my verifymsg
file
2) How should I make the check for an empty log
message? I know it could done in a .sh file for
example.
3) Where should I place this .sh file in my
filesystem?
Thank you very much in advance
Ivan Ivanov
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
- Reject cvs commits with empty log messages,
Ivan Ivanov <=