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

Re: changing DIR structure of SVN dump

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Wed, 11 Jan 2012 10:17:23 -0600

On Wed, Jan 11, 2012 at 10:00 AM, Ryan Schmidt
<subversion-2012a_at_ryandesign.com> wrote:
>
>> The repos is /var/svn/repos but it has a hb folder, which holds all
>> the obsolete files and that dir holds another dir with the new
>> project. Which two of the below would be ideal method of managing
>> several projects:
>>
>> method 1:
>> /var/svn/repos/project1
>> /var/svn/repos/project2
>> /var/svn/repos/project3
>>
>> method 2:
>> /var/svn/project1
>> /var/svn/project2
>> /var/svn/project3
>>
>> The former are directories/projects within the main repository and in
>> the case of the latter, each project is its own repository
>
> Both organizational methods have advantages and disadvantages. There's lots of discussion on the topic in the mailing list archives over the years.

A couple of practical points:

You probably want to configure your service (whether svnserve or http)
to access a directory where you have the option to create more
repositories transparently whether or not you use them initially.

Eventually you may need to do maintenance like removing a DVD iso
image someone accidentally committed or something that for legal
reasons should not be there. The only way to actually remove
anything from a repository is to use svnadmin dump on the whole thing.
 If you have combined many large projects in one repository, this can
become very cumbersome due to the time and space requirements.

-- 
  Les Mikesell
    lesmikesell_at_gmail.com
Received on 2012-01-11 17:18:00 CET

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.