[cvsnt] Re: How to figure out who made the commit in loginfo?

Zsolt Koppany zkoppanylist at intland.com
Fri Dec 12 13:48:56 GMT 2003


Now I understand,

is that true only for CVSNT? Where can I find a description of such
variables?

Zsolt

"Bo Berglund" <Bo.Berglund at system3r.se> schrieb im Newsbeitrag
news:mailman.174.1071227388.10435.cvsnt at cvsnt.org...
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
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
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt





More information about the cvsnt mailing list