info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User who commited?


From: Larry Jones
Subject: Re: User who commited?
Date: Fri, 4 May 2001 16:02:06 -0400 (EDT)

Vesa Vestman writes:
> 
> Does anybody know how to get current users username from loginfo?

You can use the $USER internal variable in the loginfo file to pass that
information to the script.  See:

http://cvshome.org/docs/manual/cvs_18.html#SEC176

For an example, see:

http://cvshome.org/docs/manual/cvs_18.html#SEC170

> Is there any enviroment variable where to get that?

In CVS 1.11.1 and newer, the environment variable $CVS_USER is also set.

-Larry Jones

Girls are like slugs -- they probably serve some purpose, but
it's hard to imagine what. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]