delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/14/08:14:42

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 <gavenko AT bifit DOT com DOT ua>
Subject: Re: svn don't remember my password.
Date: Mon, 14 Jun 2010 15:14:06 +0300
Lines: 64
Message-ID: <hv56e4$1vc$1@dough.gmane.org>
References: <hv4sbr$tlf$1 AT dough DOT gmane DOT org> <hv4t48$m9$1 AT dough DOT gmane DOT org>
Mime-Version: 1.0
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: <hv4t48$m9$1@dough.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019