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

Re: creating a new project from a branch of another project with history

From: Yogananth Mahalingam <yogananth.mahalingam_at_gmail.com>
Date: Thu, 5 Aug 2010 13:30:06 -0500

Thanks for your suggestion Bob.

I never thought this is so simple.

I am using Eclipse with subversion.
I have copied the contents to the new project using the following approach.

   - Checked out Branch_A into Eclipse workspace
   - Selected Team->Branch/Tag. Set the "Copy to URL" as
http://<<servername>>/Project_B/branches/Branch_A_copy
   (I tried to copy this directly to http://<<servername>>/Project_B/trunk
   which failed saying "already exists")
   - Then merge the content from "Branch_A_copy" to "trunk" of project B.

I would like to have your opinion if there is a more efficient way to do it.

Thanks & Regards,
Yoga

On Thu, Aug 5, 2010 at 1:11 PM, Bob Archer <Bob.Archer_at_amsi.com> wrote:

> > We have a unique scenario related to managing projects in SVN.
> >
> > Here is my scenario.
> >
> > I have project A.
> > Now I have created a branch for this project - Branch_A.
> >
> > I would like to know if there is a way I can copy the content of
> > Branch_A (along with its history) & create a new project B.
> >
> > Thanks in advance.
> >
>
> Sure... just copy Branch A to Project B just like you would branch trunk.
> Both are copy operations and there is no real difference.
>
> BOb
>
>
Received on 2010-08-05 20:30:45 CEST

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.