[cvsnt] Loginfo admin file

Bo Berglund Bo.Berglund at system3r.se
Wed Jun 16 11:03:55 BST 2004


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.


CVS is designed to process one directory at a time. So there will always be
a separate call to loginfo for each module directory.

I have handled this by identifying the process ID of the calling process
because that always stays the same throughout an operation. It is available
on the command line as cvs "environment variable" $CVSPID on the command
line inside loginfo.
Then I collect the information into a "digest" and finally (after a delay 
from the first call with this process ID) I process the collected data.

Note:
You cannot use the $CVSPID directly as an identifier because Win NT very
quickly reuses PID numbers for new calls if the previous user has finished.
I solved this by using the PID as a handle into the system and extracted the
start timestamp of the process as a unique identifier.

(this is used in my CVSMailer program available here:
http://w1.862.telia.com/~u86216121/cvsmailer/CVSMailer.html)

HTH,
Bo

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Harrison, Andrew
Sent: den 16 juni 2004 11:16
To: Cvs-NT Mailing List (E-mail)
Subject: [cvsnt] Loginfo admin file


Hi,

I've been experimenting with the loginfo admin file and I'm having some
problems. When committing files from multiple directories, the loginfo
script gets called once per directory. Is it possible to configure it so
that it gets called once per commit? Or is there some way to tie the
multiple loginfo calls together for the same commit? How do other people
handle this?

Regards,
Andy

--
Andy Harrison - Platform Software Engineer 
Anite Telecoms Ltd. 127 Fleet Road, Fleet, Hampshire, GU51 3QN, UK
[http://www.anite.com/telecoms]
"No matter how bad things seem... nothing could be worse than being used as
a towel rail." - A.A. Milne


Please note that my email domain has changed from @anitetelecoms.com to
@anite.com 
Registered in England No. 1721900 Registered Office: 353 Buckingham Avenue,
Slough, Berkshire SL1 4PF, United Kingdom 





Scanned for viruses by MessageLabs. The integrity and security of this message cannot be guaranteed. This email is intended for the named recipient only, and may contain confidential information and proprietary material. Any unauthorised use or disclosure is prohibited.
_______________________________________________
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