How do I shorten the repository URL using svn+ssh similar to svnserve -r?
- by Marcus
In the svnbook, it shows you how to shorten the URL to your repositories when using svnserve as a daemon, using -r like:
svnserve -d -r /usr/local/repositories
That way, you can refer to the repository you need right after the hostname in the URL without revealing any of the local path (which is /usr/local/repositories/project1):
svn checkout svn://host.example.com/project1
However, now that I am switching to svn+ssh, I have the local path back in my repository URL:
svn checkout svn+ssh://host.example.com/usr/local/repositories/project1
Does anyone know how to hide that local path and use a shorter URL as up above, using svn+ssh and WITHOUT using a UNIX soft link on the svn server? (you still end up with an extra string in the URL if you use a soft link...)
UPDATE: The solution to this can be found in the accepted answer over on ServerFault (the green-checked answer). Yay!