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

Re: config file location

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Wed, 13 Feb 2008 02:39:33 -0600

On Feb 12, 2008, at 18:39, Listman wrote:

> On Feb 12, 2008, at 11:48 AM- Feb 12, 2008, Ryan Schmidt wrote:
>
>> On Feb 12, 2008, at 11:15, Paul Koning wrote:
>>
>>> listman writes:
>>>
>>>> maybe not like that one.. i don't need the config
>>>> information to live in the repos, just some place in the
>>>> filesystem accessible to all with perhaps an environment
>>>> variable that tells svn where to look?
>>>>
>>>> setenv SVN_CONFIG /tools/svn/config
>>>>
>>>> where config is the usual config file that lives in
>>>> ~/.subversion/config
>>>
>>>
>>> ln -s /tools/svn/config ~/.subversion/config
>>>
>>> seems like it would do the job. An environment variable would
>>> admittedly be a little easier to set up, but either one can be
>>> materialized via a systemwide login script.
>>
>> Or you could use a shell alias or function, mapping "svn" to "svn
>> --config-dir /tools/svn/config".
>>
>> Or you could move "svn" to "svn.real" and write a new script "svn"
>> which calls svn.real and adds the --config-dir argument:
>>
>> #!/bin/bash
>> svn.real --config-dir /tools/svn/config "$@"
>
> the only issue is that subversion places the "Auth" dir inside this
> config dir. if we have our users point to one central location to
> get the subversion file i guess we going to run into problems with
> the Auth subdir?

That could be a concern. Strike my recommendation and go with Paul's.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-13 09:40:22 CET

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

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