[cvsnt] Cannot use verifymsg to verify log message
bo.berglund at telia.com
Wed Nov 3 10:00:40 GMT 2004
On Wed, 3 Nov 2004 16:53:20 +0800, "Kirk Ruy" <ruy_mao at hotmail.com>
>I have the same error like that; please tell me what's about it!
>"I'm using CVSNT 2.0.26 version. My cvs server is on machine A and cvs client on Machine B. I've modified verifymsg on A to call my external script somecheck.pl which verifies if the log message specified on the command line during a commit on client side ie Machine B meets the required format of the log message. My external script resides in CVSROOT (the same dir as verifymsg) on server side ie Machine A. Now the problem is that I'm getting this error message while executing cvs commit on client side.
>C:\testproj> cvs commit -m "some formatted log message here" somefile.txt
>The system cannot find the path specified.
>cvs [server aborted]: Message verification failed
>This is my entry in verifymsg on server machine:
>When I comment out the entry in verifymsg which calls my external script, everything works fine. Is it possible to directly send the log message for verification from client to server to an external script which resides on server itself ? Any clues/help will be much appreciated. "
Don't call the perl script that way!
You have to explicitly specify the perl interpreter on the script
DEFAULT C:\Perl\perl exe $CVSROOT\CVSROOT\verifymsg.pl
(Bo Berglund, developer in Sweden)
More information about the cvsnt