Rodent of Unusual Size wrote:
> 
> Uwe Fritsch wrote:
> >
> > Is there a way to get the CVS author name at the time when the loginfo
> > trigger is run?
> 
> Put $USER on the command line that invokes log.pl, and I think
> you'll get what you want.  The envariable USER contains the
> server-side username; the $USER admin-file substitution gets
> the client-side username.  (Or something like that.)
> --
> #ken    P-)}

Thanks Ken, this worked. I added a switch -u <username> to log.pl so
that I can write "log.pl -u $USER ..." in the loginfo file and log.pl
sends the cvs username now in the mail. The only remaining issue is that
the sender of the mail is the system user, but not the cvs user, but I
guess that I can't change this as only a system user can send a mail?

Regards,
Uwe.

Reply via email to