[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Multiple SVN repos with single server?

From: Ben Reser <ben_at_reser.org>
Date: Fri, 07 Feb 2014 12:04:29 -0800

On 2/7/14, 11:57 AM, Tom Malia wrote:
> Is it possible to server multiple SVN repositories…. Where I mean completely
> different SVN directories… not separate folders within a single SVN repo… using
> SVNSERVE on a single server? If so, how?

svnserve -d -r /var/svn

Where each folder in /var/svn is a separate repository. Then you access each
repo with: svn://svn.example.com/reponame where reponame is the name of the
folder for the repo in /var/svn.

For that matter you could do something (very silly) like -r / and then everyone
would have to know the path on your server to reach the repo e.g.
svn://svn.example.com/var/svn

You can create nested structures this way as well. However, on important bit
to remember is for authz svnserve uses the full path under the root for the
reponame (including the slash) whereas mod_dav_svn uses only the directory the
repo is in. That's because mod_dav_svn doesn't support arbitrary structures
like svnserve does.
Received on 2014-02-07 21:04:43 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.