Well, that depends on what you want to consider "no log message".  I've got
some scripts that will reject commits if there isn't at least one non-empty
line.  If you're interested (or anybody else), I can make them available, or
email them to you.  But as a hint, what you're looking for is to change the
'verifymsg' file in CVSROOT to run a script of your choosing.  If your
script returns a 1, CVS will reject your checkin, and send whatever output
your script has back to the CVS client.  If your script returns a 0, CVS
will accept the checkin.  Oh yeah, one wrinkle: WinCVS will put in a comment
of "no message" if you leave the dialog box blank, so be sure to make your
script check for that as well...

-----Original Message-----
From: Hafeez Mohammad [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 5, 2001 3:32 PM
To: [EMAIL PROTECTED]
Subject: Forcing Log message during commit




Is there a option where I can force all the CVS users
to use "-m" option while commiting files in the
repository. CVS should abort the commit when there is
no log message.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to