[cvsnt] Re: CVSPID and SESSIONID

Tony Hoyle tmh at nodomain.org
Mon Nov 10 13:54:03 GMT 2003


On Mon, 10 Nov 2003 11:18:12 +0100, Sebastian Sanitz
<sebastian.sanitz at it-wps.de> wrote:

>Hello,
>I try to access the environment variables CVSPID and SESSIONID in my 
>verifymsg and commitinfo skripts, with no success. Do you have an 
>example windows batch file?

Add them as parameters in the commitinfo/verifymsg lines that call
your script.

>And has the UNIX-CVS the same behaviour?

No - Unix scripts usually call getpid() to get the parent PID, and
sessionid simply doesn't exist.  Unix CVSNT has both, however.

Tony



More information about the cvsnt mailing list