[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: Tue, 12 Feb 2008 13:48:40 -0600

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 "$@"

---------------------------------------------------------------------
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-12 20:49:25 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.