info-cvs
[Top][All Lists]
Advanced

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

Re: a commit script


From: Mark D. Baushke
Subject: Re: a commit script
Date: Thu, 13 Mar 2003 08:40:34 -0800

Larry Jones <address@hidden> 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




reply via email to

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