[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: Michael L Brown <michael.l.brown_at_philips.com>
Date: 2005-04-20 23:50:31 CEST

Thanks to the gentlemen who responded. That was definately a D'oh
situation. I've seen that shown elsewhere, for other commands, and never
thought to put two and two together. Brain cells getting old.

MB
 --
Mike Brown (Michael.L.Brown@Philips.com)
            Lotus Bloats: Michael L Brown/MSN/MS/PHILIPS
Philips/ADAC, Madison, WI
Desk: 608-288-6969 Fax: 608-298-2101
PMS direct: 164-6969
You design it, I'll build it!

Andrew Thompson
04/20/2005 04:20 PM

To
Michael L Brown/MSN/MS/PHILIPS@PHILIPS
cc
users@subversion.tigris.org
Subject
Re: svnserver tunnelling and -r option
Classification

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
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...
Received on Wed Apr 20 23:53:22 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.