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

RE: Re: Test login

From: Gale, David <David.Gale_at_Hypertherm.com>
Date: 2005-09-15 15:11:52 CEST

Fabian Cenedese wrote:
> Sorry Steve for mailing you personally, now resent to the list.
>>> 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?
> The script is used by different people on different computers and
> their login name is not necessarily the svn user name. So without
> having everyone change the script to their user name it will be
> difficult to get a generally usable solution. But I'll keep it in
> mind in case I don't find a better solution.
> Thanks

So, have the script prompt for username & password, and then pass that
to svn.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 15 15:14:31 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.