[cvsnt] Problem with Loginfo???

Bo Berglund Bo.Berglund at system3r.se
Mon Jun 20 10:58:41 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


What CVSMailer sees on teh command line can be checked in the logfile it creates.
Switch on debug logging in the ini file and try again.
Now in the ML<date>.log file you will see exactly what was passed to
the program on the command line.
Example:

20050620 01:18:20 DEBUG: Root read from ini file = 3RProj
20050620 01:18:20 DEBUG: Parameter 1: -l0000069c  <= this is the -l switch and the PID
20050620 01:18:20 DEBUG: Parameter 2: bob         <= $USER expands to this
20050620 01:18:20 DEBUG: Parameter 3: /3RProj     <= $CVSROOT expands to this
20050620 01:18:20 DEBUG: Parameter 4: ADM/FrameWorkCenter WORKCTR.dpr,1.46,1.47 <= Module folder + list of committed files

/Bo

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Ho How Hon
Sent: den 20 juni 2005 08:51
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] Problem with Loginfo???


Hi,

I have been seeing some inconsistencies with loginfo. Here's my setup.

Server:
Win2k server
CVSNT ver 2.5.1.1076
CVSMailer ver 1.5.2.41

Client:
WinXP Pro
WInCVS 2.0.0.2

My loginfo script on the server is setup as follows:

ALL cscript.exe D:/CVS/cvsrepo/test/CVSROOT/logbugdata.vbs "%{sVv}"
ALL C:/Programs/CVSMailer/CVSMailer.exe -l$CVSPID $USER $CVSROOT -rcvs_test
%{sVv}

When I commit a file, I find that my vbs script is only able to see one
argument from the command line. The argument is the name of the file that is
being committed and the previous and current revision number.

Now I modify my loginfo file as such:

ALL cscript.exe D:/CVS/cvsrepo/test/CVSROOT/logbugdata.vbs "%{sVv}"
#ALL C:/Programs/CVSMailer/CVSMailer.exe -l$CVSPID $USER $CVSROOT -rcvs_test
%{sVv}

In this case, when I commit a file, I do not get any email notification as
expected. This time, my vbs script is able to see 2 arguments from the
command line. The first argument is the repository subdirectory and the
second argument is the name of the file that is being committed and the
previous and current revision number.

Has anyone else encountered this? Is this a bug with CVSNT or CVSMailer or
am I doing something wrong?

How Hon


_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook