How can I configure the subversion server to hide the full repository path from the outside world?
For example, the repository lives under /home/svn/foobar/ … I want to access it via ssh as svn+ssh://user@domain.com/foobar.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Reading carefully through the official SVN documentation I have found that when accessing subversion over svn+ssh — then a separate svnserve process is spawned for every connection. Thus the trick is to
svnservetosvnserve.binsvnserveAdd the following to its contents
Thus the wrapper will be called everytime a server instance is needed. It will in turn init the server with a new root path.
Piece of cake!