[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Loginfo not failing commit.
From: |
Jim.Hyslop |
Subject: |
RE: Loginfo not failing commit. |
Date: |
Fri, 2 Apr 2004 09:17:19 -0500 |
Carter Thompson wrote:
> 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.
I think he may be confusing 'loginfo' with 'commitinfo' (or perhaps you
mis-read the book? I haven't read the book, so I can't comment). Loginfo is
not called until after the commit has completed:
http://www.cvshome.org/docs/manual/cvs-1.11.14/cvs_18.html#SEC165
--
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)