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

Re: JavaHL setConfigDirectory() and auth cache problems

From: Mark Phippard <markphip_at_gmail.com>
Date: 2006-12-20 19:16:45 CET

On 12/20/06, David James <james@cs.toronto.edu> wrote:
>
> On 12/20/06, Daniel Rall <dlr@collab.net> wrote:
> > On Wed, 20 Dec 2006, Daniel Rall wrote:
> > ...
> > > Yup, "Java(TM) 2 Runtime Environment, Standard Edition (build
> > > 1.5.0_07-b03)" now works as expected. Thanks for the update, Patrick.
> > > If I can't weasel some native library version checks into JavaHL's
> > > Java code, we'll go with this as a best-effort attempt to maintain
> > > some compatibility with older native library versions.
> >
> [...snip...]
> > + return System.getenv("HOME");
>
> Doesn't the ".subversion" subdirectory need to be tacked on to the end
> here?

Also, I do not believe Windows has a HOME variable, so this will probably
return a null. There is a HOMEPATH variable. By default, Subversion stores
its configuration in %APPDATA%\Subversion. Maybe the function could be
enhanced to look for one of these other variables if HOME does not yield a
result.

Mark

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Wed Dec 20 19:17:06 2006

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