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

Re: subversion server: binding ip address

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-23 03:00:36 CEST

Hi Francesco. Please remember to use the Reply To All feature of your
email program when you reply, so that your responses go to the list
also and not just to me.

On Apr 22, 2007, at 19:28, Francesco Biacca wrote:

> first of all i want to say thank you for having answered to my
> question.
> Because of my bad english and the late time, maybe i wasn't clear
> before.
>
> I meant repository and not project, and I meant tcp port and not ip
> address (i'm very sorry for this mistake)

Ah! That's a better question. :)

> For example: i create two different repositories on my debian box.
> Then i start svnserve daemon by:
>
> svnserver -r fileconfig -d --listen-port port
>
> Now, is it possible to bind different repository on the same tcp port?
> (this is the real question)

So, the -r option to svnserve tells it where your repository or
repositories are. So if you have multiple repositories in a
directory /path/to/repositories, you can set -r to /path/to/
repositories and access them all.

mkdir -p /path/to/repositories
cd /path/to/repositories
svnadmin create foo
svnadmin create bar
svnserve -r /path/to/repositories -d

Then you can access both of them with the URLs

svn://server/foo

and

svn://server/bar

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 23 03:01:13 2007

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.