You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by negerns <ne...@gmail.com> on 2008/01/22 03:31:08 UTC

Multiple Repositories in a Windows Server

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?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Multiple Repositories in a Windows Server

Posted by si <ss...@gmail.com>.
> But I do not know how to access them on a Windows client machine (using
> TortoiseSVN). Could anyone help me please?

As others have said, setting the root location is the way to go.

This may also help you:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html

Another thing you may interested in is configuration files e.g. authz
and passwd don't have to live in the repos/conf directory. We version
control our files and store outside the repo, this makes management
easier e.g. adding a new user to give them access to all repositories.
I prefer relative paths but I think? absolute paths should also work.

cheers
si
-- 
It's a wild world that we live in, you step to the vibe like a new
found religion, take your position, compile your vision, futurism,
algorithm has risen up!                                pfm - the western

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Multiple Repositories in a Windows Server

Posted by eg <eg...@gmail.com>.
Ryan Schmidt wrote:
> On Jan 22, 2008, at 03:16, Thomas Hemmer wrote:
> 
>> 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?

Yes... this is how we do it on our Windows box.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Multiple Repositories in a Windows Server

Posted by Ryan Schmidt <su...@ryandesign.com>.
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?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Multiple Repositories in a Windows Server

Posted by Thomas Hemmer <th...@go-engineering.de>.
Negerns,

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.


Hope this helps,

Thomas


> -----Original Message-----
> From: news [mailto:news@ger.gmane.org] On Behalf Of negerns
> Sent: Tuesday, January 22, 2008 4:31 AM
> To: users@subversion.tigris.org
> Subject: Multiple Repositories in a Windows Server
>
> 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?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>



GO Engineering GmbH - Stolzenbergstr. 13/IV - 76532 Baden-Baden
Geschäftsführer:
Helmut Gerstner, Dipl.-Ing. (FH)
Ralf Wörner, Dipl.-Ing. (FH)
Registergericht: Mannheim HRB 201811