Larry Jones <[EMAIL PROTECTED]> writes:

> Mark D. Baushke writes:
> >       
> > > * The line of the commitinfo file that is calling your program
> > > might help to determine if all the arguments make sense.
> > >  > ALL /usr/local/src/cvsssupport/commit.branch ${USER}
> > 
> > I don't understand why you don't just use $ENV{'USER'} inside your perl
> > script to get the same value as the environment's ${USER}, but what you
> > have should work.
> 
> Because ${USER} in the administrative files is a CVS internal variable
> that contains the *CVS* username whereas the ${USER} environment
> variable contains the *sysem* username CVS is running as.  When using
> pserver, they can be different.

Good point.

My advise works fine if one is using a local or :ext: client/server
repository, but will not work properly with a :pserver: repository. The
examples seemed to indicate a local repository, but I didn't make that
clear in the above text.

I regret any confusion my message may have caused.

        -- Mark


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to