tags:

views:

76

answers:

2

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!

A: 

Might not be what your asking about but I just use bash aliases to alias the long commands to short ones.

leChuck
Good idea, but, I'd like the URL required by the svn server to be as short as possible and not put the burden of aliasing on developers... thank you though!
Marcus
A: 

UPDATE: The solution to this can be found in the accepted answer over on ServerFault (the green-checked answer). Yay!

Marcus