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

Re: svnserve -r option with ssh

From: <kfogel_at_collab.net>
Date: 2004-05-25 18:22:41 CEST

"Katarina WONG" <kwong@alexandria.cc> writes:
> Although I searched carefully the book and the FAQ, I could not find
> the way to pass the -r option (or an equivalent) to the private
> servers launched when using svn+ssh scheme.
>
> (Note for beholders: the -r option changes the root of the repository
> as far as the clients are concerned, it allows for example to
> relocate the repository without forcing the WCs to be re-checked
> out. Also it makes the paths simpler)
>
> Unfortunately, inetd is not an option on my site.
>
> I was hoping for a server config variable or an env var.
>
> Have a nice day,

You could wrap 'svnserve' in a script named 'svnserve', that invokes
the *real* svnserve with whatever options you want, including -r.

I know that's a bit inelegant, but it should work.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 25 19:41:37 2004

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.