Christian Robottom Reis <[EMAIL PROTECTED]> writes:

> On Wed, 16 May 2001, G. Shi wrote:
> 
> > However, it seems that cvs login is interactive. Is
> > there any way to include login, update logout in a
> > script?
> 
> You could use expect(1) to automate that, and you could also use the new
> password syntax that pserver offers now -- I believe only 1.11 has it,
> however.

Or just never "logout". The only "state" from a cvs login command that
makes you "logged in" is an encrypted form of your password stored in
the .cvspass file in your home directory, and although I haven't
looked, I'm guessing that all "cvs logout" does is to erase the
appropriate line from that file.

Just do cvs login once, then never do it again - then your script can
do the update and nothing else.

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

Reply via email to