info-cvs
[Top][All Lists]
Advanced

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

Re: CVS LOGIN


From: Laine Stump
Subject: Re: CVS LOGIN
Date: 17 May 2001 01:14:04 -0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Christian Robottom Reis <address@hidden> 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.



reply via email to

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