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

Re: Beginner - Subversion Windows 2003 - multiple repositories setup

From: Alex <xlegion_at_gmail.com>
Date: 2006-03-31 19:12:19 CEST

On 3/31/06, Marc Poppleton <marc.poppleton@teamlog.com> wrote:
>
> Hi,
>
> I'm a little new Subversion user and I'm in charge of installing (and, of
> course), administrating the Subversion server at work. The working
> environment is Windows 2003 Server.
> I've installed the server using the svn-1.3.0-setup.exe downloaded in the
> tigris website. This worked out fine.
> I then created a directory d:/SUBVERSION_REPOS where I wish to store my
> repositories (yes, plurial).
> This done, I gave svnadmin create "d:/SUBVERSION_REPOS" a try. Directories
> conf, db, hooks... were created.
> I then edited the SUBVERSION_REPOS/conf/svnserve.conf and passwd files to
> uncomments the various lines and put the users/pwd I needed I then
> unpacked
> the SVNService.zip in the %SVNINSTALL%/bin rep and ran svnserve --daemon
> --root "d:/SUBVERSION_REPOS"
>
> My users will be accessing the server exclusively with the Eclipse plugin.
>
> Now here comes the part I can't figure out how to fix: the Subversion
> server
> will be used by many projects, almost none having links with each other.
> As
> recommended in the SVN Book page 94, I decided to choose a "one project ->
> one repository" layout.
> But : how the hell do I do that and how do I setup every thing? I fear I'm
> a
> total jerk!
>
> What I'm looking for is something like that:
>
> d:/SUBVERSION_REPOS
> |___Project A repository
> | |________Sub project A-1/
> | | |__trunk/
> | | |__tags/
> | | |__branches/
> | |________Sub project A-2/
> | | |__trunk/
> | | |__tags/
> | | |__branches/
> |___Project B repository
> | |________Sub project B-1/
> | | |__trunk/
> | | |__tags/
> | | |__branches/
> | |________Sub project B-2/
> | | |__trunk/
> | | |__tags/
> | | |__branches/
> ...
> Each project repository having its own revision numbers, its own rules,...
>
> Thanks for your help,
>
> Marc
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
You need to create separate subversion repositories for each main project.
svnadmin create "d:/SUBVERSION_REPOS" created one repository inside
d:/SUBVERSION_REPOS. What you need to do is this:

> mkdir d:/SUBVERSION_REPOS <--- Folder where you will have subversion
project repositories
> svnadmin create d:/SUBVERSION_REPOS/ProjectA
> svnadmin create d:/SUBVERSION_REPOS/ProjectB
> svn mkdir file:///d:/SUBVERSION_REPOS/ProjectA/SubProjectA1
> svn mkdir file:///d:/SUBVERSION_REPOS/ProjectA/SubProjectA1/trunk
> svn mkdir file:///d:/SUBVERSION_REPOS/ProjectB/SubProjectB1
> svn mkdir file:///d:/SUBVERSION_REPOS/ProjectA/SubProjectB1/trunk

and so on...
Received on Fri Mar 31 19:14:04 2006

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.