[cvsnt] loginfo problem

Varun Bansal varun at in-reality.com
Fri Feb 27 08:52:26 GMT 2004


Hi,

I'm using CVSNT 2.0.26 version. My cvs server is on machine A and cvs client
on Machine B. I've modified loginfo on A to call my external script
logmsginfo.pl which gets the log message and does some stuffs.My external
script resides in CVSROOT (the same dir as loginfo) on server side ie
Machine A. Now the problem is that I'm getting this error message while
executing cvs commit on client side.

1. The entry in loginfo is like this:
DEFAULT    $CVSROOT\CVSROOT\logmsginfo.pl   $USER  {sVv}
When I try to commit on client side (client on some other windows machine)
it gives me the error:

E:\working\testproj> cvs commit -m "formatted log message here" somefile.txt
Checking in somefile.txt;
/myrepo/testproj/somefile.txt,v  <--  somefile.txt
new revision: 1.15; previous revision: 1.14
done
The system cannot find the path specified.  -------- (Error here)

but this command works fine on server side.

2. When I change the above entry as:
DEFAULT    %CVSROOT%\CVSROOT\logmsginfo.pl   $USER  {sVv}
it says:

E:\working\testproj> cvs commit -m "formatted log message here" somefile.txt
Checking in somefile.txt;
/myrepo/testproj/somefile.txt,v  <--  somefile.txt
new revision: 1.16; previous revision: 1.15
done

'testproj' is not recognized as an internal or external command, operable
program or batch file.   -------- (Error here)

3. If I change it again to:
DEFAULT   perl %CVSROOT%\CVSROOT\logmsginfo.pl   $USER  {sVv}

E:\working\testproj> cvs commit -m "formatted log message here" somefile.txt
Checking in somefile.txt;
/myrepo/testproj/somefile.txt,v  <--  somefile.txt
new revision: 1.17; previous revision: 1.16
done

Can't open perl script "testproj VSROOT%\CVSROOT\logmsginfo.pl": No such
file or directory   -------- (Error here)

Please help.

Thanks,
Varun





More information about the cvsnt mailing list