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