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

Re: Do I wasnt a 'merge' for this?

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 6 Aug 2008 11:51:50 -0400

On Wed, Aug 6, 2008 at 10:07 AM, Heston James - Cold Beans
<heston.james_at_coldbeans.co.uk> wrote:
>
> I have a subversion repo for a code project which has undergone a major
> overhaul recently, before making all these changes I create a new branch of
> the project which is where we have been doing all the work.
>
> Now that these major changes are complete and tested, I'd like to make this
> branch the main line of development, or, the 'trunk' if you will.
>
> How would you guys suggest I do this? In an ideal world I'd do this
> exclusively from sub-eclipse, however, if its asking a little much I do have
> access to the server.

If you are confident that the branch is exactly what you want, then
just go to the SVN Repository view in Subclipse. Right-click on trunk
and use the Delete option to commit a delete of trunk. Then
right-click on the Branch you want and use the Branch/Tag option to
copy the branch and give it the URL of trunk as the target. This will
recreate the trunk folder. From the command line:

svn rm -m "Delete trunk" url://server/repos/trunk
svn cp -m "Recreate trunk" url://server/repos/branches/branch
url://server/repos/trunk

Might want to switch your branch working copy to trunk when you are done.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-06 17:52:26 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.