Firstly, you do not need to create an entirely new repo in order to reorganize your projects.
Secondly, if you can, checkout the entirety of your Solution repo somewhere, and create and svn add
the branches, tags, trunk folders. Do NOT commit them yet; you will svn move
every other folder (the project folders) into trunk and then commit everything in one go.
To illustrate, I created a SampleRepo, checked it out, then svn add
ed and svn commit
ted a few placeholder project folders:
Then, I created the branches, tags, and trunk folders at the root of the repo checkout, then svn add
ed them using TortoiseSVN:
The repo checkout now looks like this:
Now, I select all of the project folders, and right-drag them over to the trunk folder, selecting SVN Move versioned item(s) here:
The root of the SampleRepo folder now contains just the branches, tags, and trunk folders. If you right-click any whitespace in the SampleRepo folder, and select TortoiseSVN ->
SVN Check for modifications, you should see something like this:
Finally, I right-click any whitespace in the SampleRepo folder, and choose TortoiseSVN ->
SVN Commit..., add a commit message, and click OK.
Now, if I right-click any whitespace in the SampleRepo folder -> TortoiseSVN ->
SVN Show log I will see this:
All done!
NB: The reason I asked for a complete checkout of the repo is because then you can minimize the number of commits you'd have to make in order to achieve the restructuring you want. You can perform the restructure server-side using TortoiseSVN's Repo Browser, but then you'd need to commit every folder move, one at a time.
More reading:
- Version Control with Subversion
- TortoiseSVN's Help File, usually found here:
%SYSTEMDRIVE%\Program Files\TortoiseSVN\bin\TortoiseSVN_en.chm