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

Re: svnserver tunnelling and -r option

From: Andrew Thompson <subversionuser_at_aktzero.com>
Date: 2005-04-20 23:20:29 CEST

Michael L Brown wrote:
> If one starts svnserver via "svn+ssh", or "svn+rsh", how does one get the
> -r (--root) option set? If started as a daemon, then it is easy, but not
> so obvious when started by a tunnel.
> We need to do it as a server wide configuration, i.e., a file that
> svnserver looks at when it starts to see of a root path has been defined.
> We prefer that it not be in the user's .subversion configuration file.
> Will svnserve look in the same /etc/subversion directory for configuration
> info just like svn does?

Try this:

Rename svnserve to svnserve2.
Create a schell script named svnserve that calls svnserve2, sends any
extra options you need, and passes along the options from the svn+ssh call.

I did not test this, but I think I've done something like this before.

Andrew Thompson
Interested in a hosted SVN repository? Email me, let's talk...
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 20 23:22:31 2005

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.