How to run svnserve protocol to server multiple paths

646 Views Asked by At

I am setting up a svn server where I have more than one SVN repository paths like /var/data/svnrepos1/forclient1 and /var/data/svnrepos2/forclient2. The SVN is installed in a custom path /usr/install/svn1.8/bin/{svnadmin,svnserve,svn,etc}.


I am try running the svnserve program using commandline like below. The command issued at command prompt is /usr/install/svn1.8/bin/svnserve -d -r /var/data/svnrepos/forclient1 -r /var/data/svnrepos2/forclient2 But SVN program is serving for just second path /var/data/svnrepos2/forclient2 only. The repos could not be accessible under /var/data/svnrepos1/forclient1. I have checked by running the daemon like { -r path2 -r path1}. In this case working for path1.` Any idea how multiple paths can be set by svn program.

1

There are 1 best solutions below

4
On

You can:

  • Move repositories to common parent (/var/data/svnrepos f.e) and have repos forclient1 and forclient2 served by single instance (just configure ACLs for different repos properly)
  • Run two instances of svnserve on different ports with single unique root in each