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

Re: Setting up new Subversion server

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Fri, 12 Jun 2009 18:28:49 -0500

On Jun 12, 2009, at 15:24, David Weintraub wrote:

> svnadmin won't fail if svnserve isn't running. After all, how can
> you run svnserve without first creating the repository with the
> svnadmin command? ;-)

Put another way: svnadmin always talks directly to repository files
on disk. It never talks to a Subversion server like svnserve or Apache.

> The "svnserve" command is the built in svn server for a single
> repository. Most sites actually use the Apache httpd server to do
> this. Apache has built in security and allows you to have multiple
> Subversion repositories. It also automatically starts up on boot.
>
> The "svnserve" command's big advantage is that it is simple. You
> run "svnadmin -d -r $REPOSITORY_ROOT" and you're done.

You mean "svnserve" here, not "svnadmin".

> Quick and simple, and you don't have to muck with Apache's
> configuration to get it to work. Something to consider when you
> don't have administrative access to the machine, and your System
> Admins aren't very helpful.
>
> The problem with svnserve is that it can only handle a single
> repository on a single port.

svnserve can handle multiple repositories too, just like Apache can.
Simply point svnserve's -r option at a directory containing multiple
repositories instead of at a repository.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2361748

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-13 01:30:09 CEST

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