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

Re: using svn.collab.net from a Windows client

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-08-31 00:04:08 CEST

Branko =?ISO-8859-2?Q?=C8ibej?= <brane@xbc.nu> writes:

> kfogel@collab.net wrote:
>
> >Branko =?ISO-8859-2?Q?=C8ibej?= <brane@xbc.nu> writes:
> >
> >>Except that I should have started on this a week ago, instead of
> >>yesterday. I'm still having problems:
> >>
> >> * I have to enter the username and password for every operation. The
> >> client's looking for the auth info in the wrong place: e.g., when
> >> I say "svn stat NEWS", it looks for "news/SVN/auth/username"
> >> instead of "./SVN/auth/username".
> >>
> >
> >Yeah, this definitely needs fixin', should be an easy tweak. Would
> >you mind filing an issue (or if you think it's faster just to fix it,
> >go ahead and do that)?
> >
>
> I'm on this. I'll submit an issue if I can't nail it down tonight.
> What's happening is that svn_client_authenticate just tacks
> "/SVN/auth/password" on the end of its path. I'll have to think about
> where these checks shoud happen, though, because checkout should behave
> differently from update/status/commit.

Look at libsvn_client/status.c. The problem is that
svn_client_status() can take a dir or file as an argument; but
internally, it calls svn_client_authenticate() on the path no matter
what, when this routine *only* takes dirs. If 'path' is a single
file, the parent path should be passed to authenticate().

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:37 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.