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

Re: config files on Windows

From: Branko ╚ibej <brane_at_xbc.nu>
Date: 2002-03-27 00:40:23 CET

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.

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

>Proxy detection on Win32 is a completely different issue that needs to
>be eventually taken care of, but now isn't the time for that. :)
>To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: dev-help@subversion.tigris.org

Brane ╚ibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 27 00:41:53 2002

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