You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Katarina WONG <kw...@alexandria.cc> on 2004/05/25 11:39:33 UTC

svnserve -r option with ssh

Hello list,

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,

Katarina. (kwong@alexandria.cc)
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svnserve -r option with ssh

Posted by kf...@collab.net.
"Katarina WONG" <kw...@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