[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: Fabian Cenedese <Cenedese_at_indel.ch>
Date: 2005-09-15 13:50:54 CEST

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

bye Fabi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 15 13:53:01 2005

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