Let\'s say people have been working on the trunk and on a branch of a Subversion repository. I want to discard any changes on the trunk, and replace it with a copy of the br
trunk remplace (trunk with your branch)
*----x * ---->
\ |
\ |
*--------|
branch
This branch was created from trunk so be careful of do not delete brutally the trunk (problems with the ancestry). First make a tag with your trunk, your backup, in any case...
I suggest do like this:
Using Eclipse SVN
click right > Team Branch/tag (create a tag - your backup)
Team > switch another branch/tag ... select your branch, be sure that the branch is correctly loaded.
in the branch : Team > disconnect. Delete SVN info.
Team > share project ... choose your trunk.
Team > commit in your trunk.
click right ... select Compare with.. Branch/tag -> look for your branch. If everything is OK you will have : "There are no differences between the selected inputs."
I hope it helps.