Re: [SVN-MIGRATION] Argh!

[email protected] (Jani Taskinen) Sat, 11 Jul 2009 18:39:28 +0300
Newsgroups svn.migration
Message-ID <[email protected]>
Hannes Magnusson kirjoitti:
> On Sat, Jul 11, 2009 at 16:30, Rasmus Lerdorf<[email protected]> wrote:
>> Gwynne and I talked briefly about changing the svn directory layout to
>> put trunk and branches at the very top to make things more cvs-like.
>> She was saying that this is not how svn is usually organized, but
>> looking around I see other large projects doing that.
> 
> How about making "alias repositories" which would be empty repos with
> bunch of svn:externals pointing to trunk?
> 
> /repository/pecl-packages
>   svn:externals /repository/pecl/*/trunk
> 
> /repository/pear-packages
>  svn:externals /repository/pear/packages/*/trunk
> 
> /repository/web-all
>   svn:externals /repository/web/*/trunk


What I've experienced with svn:externals..please no. Those and branches are not 
a good combination. (see also: http://svnbook.red-bean.com/en/1.1/ch07s04.html 
and that last paragraph)

Better do it properly than do it at all. Apparently for php-src the current 
structure would be fine. Considering you get all branches with single checkout 
which is nice.

But with stuff like the web, pecl and pear which have multiple "modules" each 
it's really PITA to use. For web stuff which don't even have any use for 
branches it's really big PITA.

--Jani