svn don't remember my password.
Oleksandr Gavenko
gavenko@bifit.com.ua
Mon Jun 14 12:14:00 GMT 2010
On 14.06.2010 12:35, Oleksandr Gavenko wrote:
> On 14.06.2010 12:22, Oleksandr Gavenko wrote:
>> $ svn help | head -n 2
>> usage: svn <subcommand> [options] [args]
>> Subversion command-line client, version 1.6.9.
>> svn: Write error: Broken pipe
>> $ cd $OLDREPO
>> $ HOME=/cygdrive/d/tmp svn ls
>> Authentication realm: <http://svn.int:80> Subversion Repositories
>> Password for 'user':
>> dir1/
>> dir2/
>>
>> Under /cygdrive/d/tmp created directory '.subversion' with empty
>> subdirectories:
>>
>> svn.simple svn.ssl.client-passphrase svn.ssl.server svn.username
>>
>> I edit '/cygdrive/d/tmp/.subversion/servers', so I have
>>
>> [global]
>> store-passwords = yes
>> store-plaintext-passwords = yes
>> store-auth-creds = yes
>>
>> When I many time repeat
>>
>> $ HOME=/cygdrive/d/tmp svn ls
>>
>> I always prompted for password.
>>
>> Under '/cygdrive/d/tmp/.subversion/svn.simple' there no any file created.
>>
> http://cygwin.com/ml/cygwin/2009-07/msg00280.html discuss much same problem
> and at http://cygwin.com/ml/cygwin/2009-07/msg00284.html person promise
> fix for 'password-stores = windows-cryptoapi'.
>
> But I need any working caching schema!
>
I run
$ svn up
enter password and now all command work successful !
So I remove
'/cygdrive/d/tmp/.subversion/svn.simple/1c08ce99a650bca1853cd749b4962d8'
and try again authenticate myself by 'svn ls' command.
And get previous buggy behavior.
So I can not use 'svn ls' for caching password.
But 'svn update' change state of my repo - not good command.
So I try another commands. This done job for me:
$ svn log . | head -n 1
or may be safer:
$ svn log -r BASE .
which don't change state of repo and require a few network resources.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list