Re: automating CVS login

On Sun, 19 Jul 1998, Andrew Clausen wrote:

> Hi people,
> Does anyone know how to login to the CVS automatically? (ie by cron, at
> 3:00am.  My ISP is a lot faster then...)   When "cvs login" is run, it
> prompts for the password.  I tried "echo | cvs login", but it seems to
> want the password entered from the console.
> I couldn't find anything in the man/info pages.  Should I get the
> source, and do a nasty hack, or is there some easy way?
> Andrew Clausen

You should only need to login once ever.  CVS will store the pass info in
~/.cvspass.  After that you can just run cvs chekcout or update or
whatever without logging in again.

Manish Vachharajani

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