SVN Novice : Setting up new repo
Solution 1:
Yes, you need to create those folders manually.
You can either create the folders, then use
svn import
to import an existing structure, or, you can create the folders, then use
svn add foldername
for each folder you create.
I'd take a read of the svn book to get a better understanding of svn.
Solution 2:
"svnadmin create" creates file structure for the subversion backend. You need to manipulate it through the svn command. A new SVN repository has no files in it and you need to add the trunk, branches and tags directories yourself. Try:
# svn mkdir file://./myrepo/trunk -m "Add trunk directory"
# svn list file://./myrepo
You should now see your directory.
A better method would be to checkout your repository and add the directories there:
# svn checkout file://./myrepo/ myrepo-checkout
# cd myrepo-checkout
# mkdir tags branches trunk
# svn add tags branches trunk
# svn commit -m "add initial directories"
Solution 3:
Another approach: first create the default tree (branches, tags and trunk) in a temporal directory:
mkdir branches
mkdir tags
mkdir trunk
svn import myrepotemp file:///myrepo/ -m "Initial layout"
Anyway, you will not see this layout in the repo directory.