Set Subversion root directory for access via svn+ssh
I'm having trouble setting Subversion's root folder for repositories. The path has gotten pretty long and I'd like to shorten it to "/".
We currently access Subversion from clients via:
svn+ssh://server.domain.com/Library/Subversion/Repositories/project/trunk
and would like to shorten URL to:
svn+ssh://server.domain.com/project/trunk
I've tried:
server:~ admin$ svnserve -r /Library/Subversion/Repositories
You must specify exactly one of -d, -i, -t or -X.
Type 'svnserve --help' for usage.
I've also tried the -t flag since access via ssh it technically tunneling:
server:~ admin$ svnserve -t -r /Library/Subversion/Repositories/
( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops depth log-revprops partial-replay ) ) )
but I get that criptic response and the cursor waiting as开发者_Go百科 if it's expecting more input?!?
Anyone know how to set this?
The Subversion documentation says this about the -t
flag:
This flag is automatically passed for you by the client when running over a tunnel agent such as ssh. That means there's rarely any need for you to pass this option to svnserve.
I think you're probably looking just to run the server as a daemon:
svnserve -d -r /Library/Subversion/Repositories/
精彩评论