On Nov 3, 2005, at 16:22, Greg Thomas wrote:
> On Thu, 3 Nov 2005 23:13:18 +0800, Adrian Hoe <mailbox@adrianhoe.com>
> wrote:
>
>> As Duncan mention that "trunk" and "branch" are just only
>> conventions. I think I would like to keep it that way:
>>
>> /svn/Sumo/BRANCHES/----+Branch1
>> |
>> +Branch2
>>
>> The reason I need to create branches is to test out several different
>> implementation of codes and OS platforms (like qt, Gtk, etc).
>>
>> The mainstream development will still reside in /svn/Sumo.
>
> The trouble with that is that each new branch you create will include
> all the previous branches prior to that date.
>
> For example, if you have
> /svn/Sumo/ - main code
> /svn/Sumo/BRANCHES - directory for branches
> /svn/Sumo/BRANCHES/branch1 - first branch
> /svn/Sumo/BRANCHES/branch2 - second branch
>
> when you create your third branch,
>
> svn cp /svn/Sumo/ /svn/Sumo/BRANCHES/branch3
>
> branch3 will now also contain branch1 and branch2 -
> /svn/Sumo/BRANCHES/branch3
> /svn/Sumo/BRANCHES/branch3/BRANCHES/branch1
> /svn/Sumo/BRANCHES/branch3/BRANCHES/branch2
So the conclusion is that you really should create a directory trunk,
move everything into trunk, and create a branches directory at the
same level as trunk, so that you avoid the problem Greg described above.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 3 17:02:16 2005