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

Re: how to completely replace the trunk of a repo with one of its branches?

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2007-12-20 22:33:50 CET

On Dec 20, 2007 1:27 PM, Reuben Avery <reuben@swirl.net> wrote:

> hi all,
> strange thing to do, I know.. I have a branch of my project that is so
> very different now from its old trunk and there is absolutely nothing in the
> trunk which I wish to merge with what is in the branch -- i just want it to
> be there for historical purposes.
>
> anyone have a quick tip on this?
>
>
You already have it set up. The branch and trunk are nothing but versioned
directories. Use branch as if it is your trunk and keep the trunk untouched
:-)
Actually, if you do want the branch to be called "trunk", just move (svn mv)
the trunk to a location (say tags/old_trunk, archives/trunk or some location
like that) and move (svn mv) your branch to trunk.

Thanks,
-Hari
Received on Thu Dec 20 22:34:11 2007

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.