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

Re: How to svnserve multiple repositories?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-09-23 00:53:16 CEST

Robert Brewer wrote:
> Hi all,
>
> I've installed Subversion 1.0 on a Win2k server and had a go at setting
> up repositories. I tried the single-repository approach for my 6
> projects, but quickly decided I needed separate revision numbers and
> separate access controls. Therefore, I'm trying to set up multiple
> repositories. I have no problem *creating* them:
>
> svnadmin create E:\repos\cation
> svnadmin create E:\repos\dejavu
> etc.
>
> No problems *populating* them either (at least, I don't think there are
> any problems):
>
> svnimport -m "initial import" C:\migrate\cation file:///E:/repos/cation
> svnimport -m "initial import" C:\migrate\dejavu file:///E:/repos/dejavu
> etc.

Hmm. Didn't you want trunk, tags, branches directories?
Or are your projects the sort to never require branches or tags?
Or is "svnimport" a wrapper handling that?

> But I can't figure out how to *serve* more than one.
>
> svnserve -d -r E:\repos\cation
>
> ...works, but only serves one repository. How do I serve the other 5
> projects simultaneously? Different ports? I'm hoping for a solution
> which results in TortoiseSVN's Repo-Browser showing me all 6 projects at
> once, but that's not a deal-breaker.
>
> Any help gladly accepted.

-r defines a *root* - not a specific repository. So:

svnserve -d -r E:\repos

svn checkout svn://localhost/cation
svn checkout svn://localhost/dejavu

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 23 00:53:51 2004

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