X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_40,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_SV,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com connect(): No such file or directory From: Oleksandr Gavenko Subject: Re: svn don't remember my password. Date: Mon, 14 Jun 2010 15:14:06 +0300 Lines: 64 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 [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: 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