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

RE: Using TSVN to connect to multiple repositories on same server?

From: Erik Hemdal <erik_at_comprehensivepower.com>
Date: 2007-07-13 17:30:42 CEST

> Thanks, Erik.
> When I use TSVN to go to svn://host.domain.com/repo2, SVN
> attempts to access
> a subdirectory 'repo2' under the first repository I created.
> I can't log on
> using the credentials I created for repo2, but can using the
> credentials I
> created for the original repository.
> The server is Subversion 1.2.3-r19776 running on Windows, if
> that makes a
> difference.
> I'm certain that I'm asking a stupid newbie question, but the
> fact is that I
> AM a stupid newbie, and I do appreciate the assistance.

Hi Matthew:

To make this work, I think the key is specifically where your repositories
are set up. It's not really a TSVN issue.

There's a repository root, or parent, directory, which is what I give to the
svnserve command when I start the server. Let's say this is /repobase.
Svnserve will look for repositories starting in this directory. If I want
multiple repositories I need to svnadmin create them underneath this root.

If I want 2 URLs like


the repositories need to be located at


Which means I need to do the command

svnadmin create /repobase/mystuff
svnadmin create /repobase/myfriendstuff

If I do

svnadmin create /repobase

then svnserve will only find one repository, and will be confused. I'm
guessing that this is what you did, so Tortoise is finding only one

If you are on Windows, I think you'll want directories like
C:\repobase\mystuff. I don't use SVN on Windows, so I'm guessing about

I hope this helps. Erik

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jul 13 17:30:02 2007

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