Setting Your SVN Root with svn+ssh
Accessing your subversion repo via ssh is pretty nifty because you don't have to set up a special server or auth methods. The only problem is that out of the box, you are going to have to use the full path to your subversion root in the URLs. i.e. something like:
If you prefer to use a URL something like
you need to pass the -r option to svnserve when it is executed on the server. To do this, I usually replace the svnserve binary with a shell script that wraps the original program:
#!/bin/sh /usr/bin/svnserve-real -r /var/local/subversion $*
Where svnserve-real is the orginal binary. The only problem with this method is that 'apt-get upgrade' likes to reinstall the binary. Perhaps somebody else has a better trick?Setting Your SVN Root with svn+ssh
I guess I'd call myself a problem solver. Either that, or I'm some sort of organic machine designed to convert oxygen into carbon dioxide. You could go either way on that. I'm into languages and stuff. I wrote a book. It's okay, I guess. What else? I like reading, swimming, eating, and playing music. Satisfied? Sheesh.