Short of a dump-reload cycle, why can't you simply svn delete trunk
and then svn move branches/Version2 trunk
?
Also, @LazyBadger's comment above seems to be a perfectly valid alternative, but if you have files in trunk
that were svn delete
d in the Version2
branch, you'd still have these present after the manual sync he suggested. Even if you manually delete (i.e Windows / Linux / Mac delete) everything in trunk
first, then manually sync with the Version2
branch, you'd still have to remember to "mark as deleted" the files that SVN will now report as missing.
For files svn add
ed in Version2
, post-manual-sync to trunk
, SVN will report them as being non-versioned, and you'd have to remember to svn add
them.
There have been times where I was forced to do this sort of thing, and it isn't pretty.