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

Re: Need to create branches

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-11-03 16:22:28 CET

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

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 3 16:27:38 2005

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.