[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: Tom Malia <tommalia_at_ttdsinc.com>
Date: Fri, 7 Feb 2014 15:06:13 -0500

Thanks, it's sssooo obvious now!

-----Original Message-----
From: Ben Reser [mailto:ben_at_reser.org]
Sent: Friday, February 07, 2014 3:04 PM
To: Tom Malia; users_at_subversion.apache.org
Subject: Re: Multiple SVN repos with single server?

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:08:19 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.