From: Hannu Koivisto <azure@iki.fi>
To: Meino Christian Cramer <Meino.Cramer@gmx.de>
Cc: zsh-users@sunsite.dk
Subject: Re: More general zsh-scripting question
Date: Sun, 22 May 2005 15:11:43 +0300 [thread overview]
Message-ID: <87d5rjlatc.fsf@trews52.bothi.fi> (raw)
In-Reply-To: <20050522.070041.74749928.Meino.Cramer@gmx.de> (Meino Christian Cramer's message of "Sun, 22 May 2005 07:00:41 +0200 (CEST)")
Meino Christian Cramer <Meino.Cramer@gmx.de> writes:
> cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/snd login
> cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/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@gmx.de> writes:
> From: Andrey Borzenkov <arvidjaar@newmail.ru>
>> 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
prev parent reply other threads:[~2005-05-22 12:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-22 5:00 Meino Christian Cramer
2005-05-22 9:03 ` Andrey Borzenkov
2005-05-22 11:13 ` Meino Christian Cramer
2005-05-22 12:11 ` Hannu Koivisto [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d5rjlatc.fsf@trews52.bothi.fi \
--to=azure@iki.fi \
--cc=Meino.Cramer@gmx.de \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).