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

Re: Hook scripts not working (svn update on post-commit)

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-06-05 15:25:05 CEST

On 6/4/06, Alexandre <aledmb@gmail.com> wrote:
> I've configured access to my repository (version 131)
> to be made through Apache (version 2058),
> with basic authentication set up.
>
> On Win32, somehow ;-), if I get to a working copy
> directory and ask to "svn update" it, it doesn't need
> me authenticated to do so.

Perhaps because your credentials are cached in your Windows account?
%APPDATA%\subversion\auth

> So, I'm writing this mournful piece of text just to
> warn somebody on the same track I was fooling.
> You have to tell it a username and a password,
> like this:
>
> svn update --username guest --password guest

Because the account that the script is running under doesn't have a
%APPDATA% and isn't interactive in the first place, so it couldn't
cache this. Plus, what if you had different repositories being served
requiring different usernames?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 5 15:26:17 2006

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

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