> 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
machines,
> >etc becomes an absolute pain if it's in the registry. Life is
slightly
> >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
the
> >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:
http://www.microsoft.com/downloads/release.asp?releaseid=30340
> Oh, and what about site-wide settings? Do they stay in the registry,
or
> 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.
Bill
---------------------------------------------------------------------
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