Howto: “Replacing the trunk of a Subversion repository with a feature branch”
# From the working copy of my branch: $ svn del file:///repos/trunk -m "Temporarily deleted trunk." $ svn mv file:///repos/branches/my_branch file:///repos/trunk \ -m "Moved /branches/my_branch to /trunk" $ svn switch file:///repos/trunk