info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loginfo not failing commit.


From: Carter Thompson
Subject: Loginfo not failing commit.
Date: Thu, 1 Apr 2004 16:51:25 -0800

Hi,

I have written a perl script to parse some log information from
CVS.  However, from Karl Fogel's book, Open Source Development 
with CVS, he states that any nonzero exit from a script/program 
run by loginfo will fail the commit.  Unfortunately, this appears
not to be true.  Would someone be so kind as to verify this?  I'm
running CVS Server version 1.11.2 on solaris and my loginfo script
and test perl script are included below.  I'd really like to fail
the commit if the bug number isn't included in the log message.


#
# loginfo
#

DEFAULT $CVSROOT/CVSROOT/obt-parse.pl

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# Perl script.
#

#!/usr/bin/perl -w
#
print "test\n";
exit 123;

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Thanks for any assistance!

Carter.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]