[cvsnt] Why is $CVSROOT sending physical path to scripts????

Bo Berglund bo.berglund at telia.com
Fri Sep 2 23:46:26 BST 2005


I have a user of CVSMailer complaining about not getting emails and
after studying his logfiles and the registry of his server I have
found that for some reason CVSNT is sending the *physical* path to the
repository as $CVSROOT when loginfo executes instead of the
RepositoryName as it is supposed to do. Why is this so?
It surely makes CVSMailer confused and unable to get the physical path
from the registry...

This is his loginfo line (wrapped):
DEFAULT C:/Programs/CVSMailer/CVSMailer.exe -l$CVSPID "$USER" $CVSROOT
%{sVv}

And here is the $CVSROOT result of the problem server:
Parameter 3: C:\DevCvs

The repository is defined like this in the registry:
"Repository0"="C:/DevCvs"
"Repository0Name"="/DevCvs"
"Repository0Description"="Developpement local"
"Repository0Publish"=dword:00000001

In this case I would have expected CVSNT to call loginfo with the
$CVSROOT set to "/DevCvs" and using this CVSMailer would have found
the physical path "C:/DevCvs" by reading the registry info for
RepositoryXName until a match is found.

But it does not happen....
BTW: DEBUG: CVSNT version is: 2.5.2.2064

Any ideas why this happens????


/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list