[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: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 5 Aug 2010 14:54:59 -0400

> 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.

Well... if it the /ProjectB/trunk folder already exists you of course can't copy it there. Is there anything in /ProjectB/trunk? If not... delete it. Then do your copy.

No need to merge after you do the copy.

BTW: I don't use subclipse but what the steps should be the same. The command line would be something like:

svn cp http://servername/Project_A/branches/Branch_A http://servername/ProjectB/trunk

(please don't top post)

BOb
Received on 2010-08-05 20:55:39 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.