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

Re: Setting $HOME in the testsuite

From: Hyrum K Wright <hyrum_at_hyrumwright.org>
Date: Wed, 22 Dec 2010 21:42:05 -0600

On Wed, Dec 22, 2010 at 9:31 PM, Peter Samuelson <peter_at_p12n.org> wrote:
>
> [Hyrum K Wright]
>> More fallout from my issue #3765 work: I'm investing using ~/.svnrc
>> to provide default arguments to the commandline client.  In doing so,
>> it makes loads of sense not to use the a developer's ~/.svnrc when
>> running the tests.
>
> I'd suggest putting svnrc inside ~/.subversion (or --config-dir).  I
> know ~/.subversion is for the library and svnrc is for the command line
> binary, but I think for an end user that's a pretty fine distinction to
> make.  The last thing I need are even more top-level dotfiles in my
> $HOME.
>
> And using --config-dir would make your $HOME question moot.

Just curious if this suggestion is made in light of the concerns I
expressed in the other thread. Namely, that the location of the
config directory isn't determined until parsing the commandline args,
at which point it may be too late to introduce the additional args
obtained through the newly-discovered config file.

I'm not claiming that ~/.svnrc is the optimal solution, just pointing
out something would would need to be handled if we used
~/.subversion/foo.

-Hyrum
Received on 2010-12-23 04:49:22 CET

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.