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

Re: One repository / Many projects : How to differenciate revisions ?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2007-03-16 11:49:45 CET

On 3/16/2007 3:34 AM, Donkers, H.C. (Kurt) wrote:
> On Mar 13, 2007, at 03:12, Nicolas CHARLOT wrote:
>>> At a same time, we are working on many projects. We've setup a
>>> repository and want to use it to handle all our projects. The
>>> recommended structure is to create a root folder for each project.
>>> That's OK. The issue is that we have a global counter for the
>>> repository. Is Subversion able to manage revisions by folder ?
>>> If not, what do U advise me ?
>> No. The revision number is global for the repository.
>> My advice to you is not to worry about it. Do not attach any meaning
>> to the number, other than "the number of changes that have been made
>> in the repository." See also the FAQ:
>> http://subversion.tigris.org/faq.html#globalrev
> There is of course also the possibility to use multiple repositories (one per project), in which case you would have one revision number per project.
> There aren't any major disadvantages to this right?

There are some disadvantages, but I don't know if they are "major":

- It's not possible to copy a file from one project to another and keep
its history.
- You need to backup each project, instead of just backing up one

Some small advantages, too:

- The repositories are smaller, so easier to back up, and if projects
eventually are abandoned, you won't need to maintain all their code in
backups forever.
- It's slightly easier to have varying access permissions for different
projects when they are in different repositories.

Duncan Murdoch

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 16 11:50:14 2007

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.