[EMAIL PROTECTED] (Larry Jones) writes:

> Florian Weimer writes:
> > 
> > Below you'll find a patch which adds the CVS user name to the data
> > that is written to a loginfo handler.  It's very complicated to
> > determine it if you're using pserver and multiple CVS users are mapped
> > to one Unix user (in this case, you can't use getuid(), as some
> > scripts do).
> 
> No patch is necessary -- the $USER internal variable is set to the CVS
> username and can be passed as an argument to the script.

I see, thanks.  The documentation is a bit misleading, though:

--- cvs.texinfo 2000/02/28 15:12:25     1.1
+++ cvs.texinfo 2000/02/28 15:14:29
@@ -12494,7 +12494,8 @@
 @item USER
 @cindex USER, internal variable
 Username of the user running @sc{cvs} (on the @sc{cvs}
-server machine).
+server machine), or, when using pserver, the username
+used during pserver authentication.
 @end table
 
 If you want to pass a value to the administrative files

Reply via email to