Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More general zsh-scripting question
- X-seq: zsh-users 8890
- From: Hannu Koivisto <azure@xxxxxx>
- To: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- Subject: Re: More general zsh-scripting question
- Date: Sun, 22 May 2005 15:11:43 +0300
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20050522.070041.74749928.Meino.Cramer@xxxxxx> (Meino Christian Cramer's message of "Sun, 22 May 2005 07:00:41 +0200 (CEST)")
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050522.070041.74749928.Meino.Cramer@xxxxxx>
- Sender: Hannu Koivisto <Hannu.Koivisto@xxxxxxxxxxx>
Meino Christian Cramer <Meino.Cramer@xxxxxx> writes:
> cvs -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/snd login
> cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/snd update -d cvs-snd
> index=1
>
> When the second line is executed, the login: prompt stops execution
> of the script and waits for the <RETURN>.
>
> Is there a way to automate this ?
Login is not needed with a reasonably modern CVS client. Try this
instead (without login):
cvs -z3 -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/snd update -d cvs-snd
Note the ":" after "anonymous".
Meino Christian Cramer <Meino.Cramer@xxxxxx> writes:
> From: Andrey Borzenkov <arvidjaar@xxxxxxxxxx>
>> Why do you need cvs login in script? You only have to do login once, then CVS
>> remembers login/password/repository combination and does not ask for it
>> anymore.
>
> As I mentioned I have a couple of projects from the net for which I
> do updates via cvs. Not all use the same cvs server. cvs only stores
> one login/password/repository combination.
Huh? Are you using some odd CVS client? The standard CVS client
has stored an unlimited number of login/password/repository
combinations for as long as I can remember.
--
Hannu
Messages sorted by:
Reverse Date,
Date,
Thread,
Author