Convert to standard svn layout layout tags / branch / trunk format

We are working with SVN on a project. My colleagues have already started the project by placing the simple "EX1" directory in the root of the repository, so there are no tag / branch / trunk directories.

I want to move the contents of this directory into the trunk, and then make a tag out of it.

What commands do I need to execute?

+3
source share
1 answer
$ cd <working copy root dir>
$ mkdir trunk branches tags
$ svn add trunk branches tags
$ svn move EX1 trunk/EX1
$ svn copy trunk tags/<tag name>
$ svn commit

Then my suggestion is to delete the working copy and check the new one only for the branch / tag / trunk instead of the whole repository.

+6
source

All Articles