[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: Srilakshmanan, Lakshman <lakshman.srilakshmanan_at_police.vic.gov.au>
Date: 2007-12-21 00:33:03 CET

Hi Reuben,
 
I am sure you would have thought of this, but the easiest way and to
keeping with the concept of trunk I would do the following.
 
svn co trunk trunk-wc
svn del everything under trunk-wc
svn commit trunk-wc
 
svn co branch branch-wc
svn switch branch-wc to trunk
svn commit
 
This should make your branch identical to trunk
 
Thanks
Lakshman
________________________________

From: Reuben Avery [mailto:reuben@swirl.net]
Sent: Friday, 21 December 2007 8:28 AM
To: subversion-users
Subject: how to completely replace the trunk of a repo with one of its
branches?

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?

thank you :) :)

================================================================================================
EMAIL DISCLAIMER

This email and any attachments are confidential. They may also be subject to copyright.

If you are not an intended recipient of this email please immediately contact us by replying
to this email and then delete this email.

You must not read, use, copy, retain, forward or disclose this email or any attachment.

We do not accept any liability arising from or in connection with unauthorised use or disclosure
of the information contained in this email or any attachment.

We make reasonable efforts to protect against computer viruses but we do not accept liability
for any liability, loss or damage caused by any computer virus contained in this email.
================================================================================================
Received on Fri Dec 21 00:32:57 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.