[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Forcing Log message during commit
From: |
Kostur, Andre |
Subject: |
RE: Forcing Log message during commit |
Date: |
Tue, 5 Jun 2001 22:25:42 -0700 |
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:address@hidden
Sent: Tuesday, June 5, 2001 3:32 PM
To: address@hidden
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
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs