You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rick Zerbs <rz...@trisquarecomm.com> on 2006/07/11 20:57:23 UTC

Multiple Product lines

Hello,

 

I'm relatively new to Subversion, but have had experience using versioning
systems, Clearcase for the most part.

 

My question stems from the fact that I am working on 3 projects that will
share source files for the most part, but could have some major differences.
Basically, it's the same product with different tiers - low, medium and
high.  For instance, the low-tier product will use a very simple display
while the high tier product will have many more options and icons.  I'm
wondering what the best way to configure this in Subversion would be.  Some
changes may need to be incorporated into all versions, some changes will be
specific for that tiered product.

 

I had first thought of using branches for the different products, but
thought it may be difficult -- if I made changes on the high tier version,
how do I merge those changes in to the other tiers without merging the
high-tier functionality??  Now I am unsure Subversion branches can be used
in this manner.

 

Thanks,

Rick

 

Rick Zerbs

TriSquare Communications

816-505-3575

 

 


Re: Multiple Product lines

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 11, 2006, at 22:57, Rick Zerbs wrote:

> I had first thought of using branches for the different products,  
> but thought it may be difficult -- if I made changes on the high  
> tier version, how do I merge those changes in to the other tiers  
> without merging the high-tier functionality??  Now I am unsure  
> Subversion branches can be used in this manner.


Using branches sounds fine. When you want to bring a changeset from  
one branch to another, just merge that one changeset.

For example, you've just committed r1234 to the medium-tier branch.  
Now you want to bring that change over to the low- and high-tier  
branches.

Change to a working copy of the low-tier branch and update it. Make  
sure there are no uncommitted changes in the working copy. Merge in  
the change that you made in medium-tier r1234:

svn merge url://to/repo/project/branches/medium-tier -r1233:1234

(Here you're telling Subversion to compute the difference between  
revisions 1233 and 1234 of the medium-tier branch and apply them to  
the current working copy.)

Test the working copy, making sure the change is there and works  
properly, then commit the change, stating in your commit message that  
you're merging in revision 1234 from the medium-tier branch.

Now repeat that in a working copy of the high tier.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org