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

RE: Multiple projects in one repository!

From: Anders Hanson <anders.hanson_at_speedo.nu>
Date: 2002-05-03 18:08:12 CEST

I know that Subversion doesn't care about the directory structure :)
What I meant was that it whould be nice if it was possible to have a
separate revision for each project. Right now you have to have one
repository for each project. Like i wrote in my first mail about this
when you're building products that are built of multible shared libs
it's not fun to have one repository for each library.

Application 1 uses library 1, 2 and 3
Application 2 uses libraray 1, 3 and 4
Application 3 uses libraray 1

It whould be nice if each library could be a separate "module" in the
repository, with it's own revision number, that is only bumped when
checking in that module.

/Anders

-----Original Message-----
From: sussman@collab.net [mailto:sussman@collab.net]
Sent: den 3 maj 2002 17:51
To: Anders Hanson
Cc: dev@subversion.tigris.org
Subject: Re: Multiple projects in one repository!

"Anders Hanson" <anders.hanson@speedo.nu> writes:

> If it's possible it whould be nice to have a possibility to
> have multiple project's in one repository, and have on revision
> number for every project. Mostly to get rid of all the trunk/
> tags/ and branch/ directories (one for each proj) and instead
> have something like this
>
> repos/trunk/
> proj1/
> proj2/
> proj3
> repos/tags/
> proj1/
> 0.10
> repos/branches/
> proj2/
> 0.1
>
> instead of this
>
> proj1/trunk/
> src/
> include/
> tags/
> 0.10
>
> proj2/trunk/
> src/
> include/
> branches/
> 0.1

You can lay your repository out however you want. Subversion doesn't
care.

Because subversion's own repository has only one project, we chose the
latter layout. But if you want to put multiple projects in your
repository, then the former layout makes more sense, certainly.

Subversion doesn't enforce any structure at all. You can lay out your
directories however you want. Or rearrange them later if you change
your mind.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 3 18:09:14 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.