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

Re: How to use custom path for config file

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 3 Dec 2010 15:00:26 +0100

On Fri, Dec 03, 2010 at 02:20:54PM +0100, Victor Engmark wrote:
> On Dec 3, 2010, at 12:33 PM, Andy Levy wrote:
> > On Fri, Dec 3, 2010 at 02:50, Victor Engmark
> > <victor.engmark_at_terreactive.ch> wrote:
> >> It would be very useful to be able to compile Subversion to use a different path than /etc/subversion/config for the default configuration file. Is this possible? I've also asked on ServerFault <http://serverfault.com/questions/208385/subversion-doesnt-use-custom-config-path>.
> >>
> >
> > Look at the next to last Global option in svn help <command>.
> This would be even more useful as a compile option (for example the existing --sysconfdir), instead of at each run.

You can change this line in subversion/libsvn_subr/config_impl.h ...

# define SVN_CONFIG__SYS_DIRECTORY "/etc/subversion"

... and recompile.

We would happily accept patches that make this path configurable from
the configure script.

Received on 2010-12-03 15:01:06 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.