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.
These are not shell environment variables at all, they are internal CVS variables that CVS will add to the command line for the program you have entered on the loginfo line. After this is done CVS launches the selected process and waits for it to exit. Don't confuse with generally available variables in the linux shell. Bo -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf Of Zsolt Koppany Sent: den 12 december 2003 09:14 To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook Subject: [cvsnt] Re: How to figure out who made the commit in loginfo? Thank you Bo, I thought, "$" will be used only by Linux shell and not by Windows shell. Zsolt "Bo Berglund" <bo.berglund at telia.com> schrieb im Newsbeitrag news:fgphtvogtc2p6r8k3co26ekth6suiupf9i at 4ax.com... > On Thu, 11 Dec 2003 21:50:48 +0100, "Zsolt Koppany" > <zkoppanylist at intland.com> wrote: > > >Hi Bo, > > > >my question was not perfect. Under Unix I do know how to do it but not under > >Windows. > > > >Zsolt > > > Here is an example line from a loginfo file where I use my own program > CVSMailer to process the information and send out email (all on one > line, the newsreader wraps the line into two): > > ALL C:\Programs\CVSMailer\CVSMailer.exe -l$CVSPID $USER $CVSROOT > %{sVv} > > The second item on the space separated line is the program to call, > then follows the parameters you need for this program, I use 3 extra > parameters before the standard params %{sVv}. > Here I use: > $CVSPID this gives me the process identifier of the cvs.exe instance > $USER this is what you want, the login name of the user > $CVSROOT this is the root specifier so it can be included in the email > > There are a few other environment variables you can use here, it all > depends on what your program is going to expect and do. > Hope this helps a bit more... > > > /Bo > (Bo Berglund, developer in Sweden) _______________________________________________ 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