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

Re: Multiple Repositories in a Windows Server

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Tue, 22 Jan 2008 05:18:30 -0600

On Jan 22, 2008, at 05:08, Thomas Hemmer wrote:

> Ryan Schmidt wrote:
>
>> On Jan 22, 2008, at 03:16, Thomas Hemmer wrote:
>>
>>>> How do I access two different repositories on a Windows Server
>>>> machine?
>>>>
>>>> I have created two different repositories on my Windows Server
>>>> machine in drive D:\. I have created a service like this:
>>>>
>>>> sc create svn binPath= "C:\Program Files\CollabNet Subversion
>>>> Server\svnserve.exe --service" DisplayName= "Subversion Server"
>>>> depend= Tcpip start= auto
>>>>
>>>> But I do not know how to access them on a Windows client machine
>>>> (using TortoiseSVN). Could anyone help me please?
>>>
>>> you will have to create a windows service for each server you are
>>> planning to run.
>>> Since svnserve takes a --listen-port option you can force different
>>> server instances to bind to different ports.
>>> On the client side, use the :<port> part of the svn URL to specify
>>> which of the servers to connect to.
>>
>> Surely svnserve on Windows also accepts the -r option which
>> would let you specify a directory containing several repositories?
>
> maybe I didn't get you right or I am missing something about svn
> itself.
>
> What exactly do you mean by "... the -r option which would let you
> specify a directory containing several repositories?"?
> By a "repository" I used to understand a directory containing files
> and
> subdirs like "conf/ dav/ db/ format hooks/ locks/ README.txt"...
>
> Is it really possible to feed one svnserve instance with a -r option
> giving a path to multiple "repositories" like described above?

Yes, as I understand it, you should be able to specify either

        svnserve -r /path/to/repository

and then you access the repository with

        svn://hostname/

or you can specify

        svnserve -r /path/to/directory/containing/many/repositories

and then you access each repository with

        svn://hostname/repositoryname/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-22 12:19:11 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.