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

RE: Understanding branching

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Tue, 12 Mar 2013 14:09:21 +0000

> ProjectRoot
> |
> |__Lib-A
> |
> |__Lib-B
>
> Suppose I'm working on a project which (among other things) builds two self-
> contained libraries called Lib-A and Lib-B. Everything is under svn control with
> the layout as shown above (ProjectRoot being the main svn root for the
> project). At some stage I want to create a branch of Lib-B for someone else to
> work on.
>
> I appreciate that if I was to open Windows Explorer, right-click on ProjectRoot
> and create a branch, this would create a new branch of the entire project. But
> suppose I right-clicked on the Lib-B subfolder and created a branch from
> there... what would it give me? Would it just create an independent branch of
> Lib-B? Or would it create a complete new branch of the entire project? Hope
> that makes sense.
>
> John

Sure, you can make a copy of any folder you want. However, you might want to separate lib-b into its own project and link it into your main project and version it independently of the main project.

Can lib-b be tested independently? If not, why not branch the whole project even though work on that branch is limited to lib-b? This way, the dev can merge in changes for the whole project to run integration tests, etc.

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3050863

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-03-12 15:09:28 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.