[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Test login

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2005-09-15 11:40:38 CEST

Fabian Cenedese wrote:
> Hi
>
> Is there a command to check if the user credentials are already known
> or would be asked if e.g. a commit was performed? I have a script which
> does perform various tasks and also a commit and I don't want it to
> stop in the middle because it needs user password or even worse will
> fail because of a wrong password.
>
> CVS has the login command to do this step by itself so further commands
> wouldn't need a password again. I already have the
>
> [auth]
> store-auth-creds = yes
>
> but that still needs to be filled first. So I'd like to do the login step
> without actually doing a command on the repository.

How about using the --username and --password options to always pass the
username and password with each svn command in the script?

-- 
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 15 11:42:48 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.