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

RE: Trouble accessing multiple repositories on the same server

From: Kevin M Green <kevin.green_at_smooware.com>
Date: 2005-12-15 04:03:21 CET

Gavin,
Thanks for the ideas.
It seems like a great way could solve the issue but I have some further
questions.

Do you know:
1. Can you simply move a repository from one folder to another? My first
svn repository (C:\SVN) is active and has many files in it. The other
(C:\SVN2) is new so I can recreate it in a different location such as
c:\repos\svn2 with no trouble. But the first one has many files and I wonder
if just moving it is OK. I rather thought there might be some references to
the original location that could cause issues if files were moved and the
references were not updated.
 
2. Will the svn authentication process use the separate passwd files based
on which repository a user is connecting to?
(eg. C:\repos\svn\config\passwd and C:\repos\svn2\config\passwd)
Because I have two different sets of users each of who should only have
access to a single repository. I have the correct users set up in the
separate passwd files.

Thanks in advance for you time to review this.
By the way I am located outside of Philadelphia PA.
How about you? Just curious.

Regards
Kevin

-----Original Message-----
From: Gavin Lambert [mailto:gavinl@compacsort.com]
Sent: Tuesday, December 13, 2005 11:16 PM
To: kevin.green@smooware.com
Cc: users@subversion.tigris.org
Subject: RE: Trouble accessing multiple repositories on the same server

Quoth Kevin M Green <mailto:kevin.green@smooware.com>:
> So I created another repository c:\svn2
> svnadmin -create c:\svn2 - no problem
> I edited the passwd file in config folder to create the users desired.
>
> I stopped and removed the svn service
> svnservice -remove
> I reinstalled the service and restarted it.
> svnservice -install -d
> (I removed the -r c:\svn to allow access to both repositories)

You should probably put both repositories under some other common folder
(eg. C:\repos\svn and C:\repos\svn2) and specify that folder (-r
c:\repos). Just seems safer that way.

> How do I start the server to be able to access multiple
> repositories? How do I specify the URL in TortoiseSVN to
> access the different repositories? (c:\svn and c:\svn2) I saw
> in the book how to specify the URL if the repository is in a
> *NIX file system. But I did not see how to specify it on a
> Windows system.

If you've got c:\repos\svn and c:\repos\svn2 with -r c:\repos, then the
access urls are:
  svn://server/svn/trunk
  svn://server/svn2/trunk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 15 04:05:43 2005

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