Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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.