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

Re: Does one ever branch without merging?

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Mon, 19 Oct 2009 07:58:38 -0500

Michael wrote:
> Thanks, that was very informative.
>
> I think I will go the branching route I explained in my original post.
> I prefer to think of the math version as a small derivation of the
> word version rather than a project all on its own. In the end I will
> probably continue branching off for the word version in other language
> too.
>
> Just to make sure though, will tagging these branches work in the way
> I would expect? I can just tag the math branch for 1.0, and the
> spanish branch for 1.2, and so on?

As far as subversion is concerned you can copy from any part of the tree to any
other. The trunk/branches/tags names and locations are just conventions. But,
the problem I see here is that you are going to duplicate a bunch of code and
will likely make small changes here and there and end up having to make future
changes in multiple copies as you improve them. A better approach would be to
split the code into 3 projects, each with its own trunk/branches/tags layout,
with code that is used by both main projects kept separately and pulled in with
an external reference. That way you only have to maintain this code once, but
the main projects can be tied to different revisions for different builds as it
changes over time.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2408944
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-19 14:59:49 CEST

This is an archived mail posted to the Subversion Users mailing list.