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

%HOME% on Win32 (Re: ra_dav compression question)

From: Chris Hecker <checker_at_d6.com>
Date: 2003-06-23 09:27:22 CEST

> > PPS. Special bonus question that I haven't had time to look in the
> > source to answer: for the Win32 client, is there any way to use the
> > %HOME%\.subversion directory rather than \Documents and Settings\blah
> > blah blah\Subverion directory.
>No. How many points do I get for this answer? :-)

How many points you get depends on which "no" it is. Is that "no" as in
"no, that's not currently possible but if somebody wrote the code...", or
"no" as in "we will absolutely never consider such a feature"? :) If it's
the former I'd be happy to submit a patch and you get full points.

>Putting per-user settings in %APPADATA%\Subversion is simply following
>the Windows conventions, same as putting them in ~/.subversion is
>following the Unix conventions. It's also necessary to do so if you want
>the SVN settings to work correctly with roaming profiles and such.

Sure, but there are a zillion other command line tools that use %HOME%
(many many more than use the Windows conventions, like emacs, cvs, cygwin
tools, openssl, etc...all unix ports, to be sure, but also highly
correlated with commandline source code control tool use as well, I'd
assume), so I claim giving people the option to use %HOME% if they choose
is the right thing. Anybody who goes and toasts their %APPDATA%\Subversion
directory and also has a %HOME%\.subversion directory is already making a
choice to manage their user information themselves. Or, another
alternative is having a %SVNHOME% envvar, and the Win32 default install can
stuff it with %APPDATA% (like it does with the APR_ICONV_PATH) and users
who want to can change it. I think silently testing existence on
%APPDATA%\Subversion and %HOME%\.subversion is better than yet another
environment variable, but either way is fine with me as long as it's
possible to put the configs in %HOME%\.subversion. Or, how about following
a link if %APPDATA%\Subversion is a .lnk. Lots of possibilities.



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 23 09:28:31 2003

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

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