Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Right now I am using an absolute path to connect i.e.

server/var/svnroot/repositoryname

I would like to be able to do

/server/repoistoryname

Is there a way to set this up? I would like to avoid symmlinks since that adds overhead. I would rather just have SVN automatically goto the folder similar to how the DocumentRoot works with Apache.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

When you run svnserve, use the -r option to set the "root" path. So in your example, launch svnserve like this: svnsrve -r /var/svnroot. Of course you'll want to add your options (-d, --listen-host, etc) in there as well...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.