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

RE: Re: config files on Windows

From: Bill Tutt <rassilon_at_lyra.org>
Date: 2002-03-27 01:05:10 CET

> From: Branko Cibej [mailto:brane@xbc.nu]
> Bill Tutt wrote:
> >
> >I'm actually starting to buy into the "put user-config data" into the
> >file system argument. Migrating configuration options between
> >etc becomes an absolute pain if it's in the registry. Life is
> >better if you put it in the path retrieved via:
> > SHGetSpecialFolderPathW(NULL, wszPath, CSIDL_APPDATA, TRUE)
> >with "\Subversion" appended to the value you retrieve in wszPath.
> >
> >However, that still sucks, but just slightly less than the registry.
> >My suggestion is to use .subversion/... and the above paths to store
> >data, and then add appropriate sub-commands to the svn binary to kick
> >off $EDITOR to alter the data. That way you never have to care about
> >where the data is stored, and it's always stored in the same format.
> >
> That's actually not a bad idea at all. :-)
> The problem is that this would maks Subversion dependent on Internet
> Explorer 4.0. I can live with that, but others might not.

Apparently according to MSDN there is a redistributable called
"ShFolder.dll" that supports CSIDL_APPDATA that doesn't require IE 4.0.
You can grab this at:

> Oh, and what about site-wide settings? Do they stay in the registry,
> move to some other file?

What site-wide settings does Subversion have that wouldn't also be
classified as repository-wide settings?

In any event there is also CSIDL_COMMON_APPDATA for the machine-wide
common data path.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 27 01:05:55 2002

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