Did you read the Subversion manual? This is one of the best open source instruction manuals in the world. Go through the first few chapters and try the examples. Heck, they show you exactly how to do what you want.
You are talking about two separate structures: The repository directory that may be on a completely different machine, and the working directory where you've checked out your work.
You need to create a repository. Once you do that, you can use the svn mkdir
command to either make your directory structure without a working directory:
$ svn mkdir --parents -m" Creating basic directory structure" \
svn://my_repo/trunk svn://my_repo/branches svn://my_repo/tags
Or, you can checkout a copy of the repository in into a working directory and do everything from there:
C> svn co svn://my_repo workingdir
C> cd workingdir
C> svn mkdir trunk tags branches
C> svn commit -m"Creating basic directory structure"
Notice that you will not see the directories directly inside your repository. However, you can use the svn ls
command to see the structure:
C> svn ls -R svn://my_repo