I find the answer posted a little confusing.
I feel we should be invoking svnadmin create
on a per project basis and we should not be importing different projects into one repository.
svnadmin create <my-repo>
creates one svn
repository.
From the help I quote:
$ svnadmin create --help
create: usage: svnadmin create REPOS_PATH
Create a new, empty repository at REPOS_PATH.
Hence we should be doing:
svnadmin create /myrailsproject
Import Your Project:
(Assuming you’ve put your project files in /projects/myrailsproject)
svn import /projects/myrailsproject file:///myrailsproject
This is how we would checkout:
svn co svn://192.168.0.2/myrailsproject
I do not think that we should be putting different projects in the same repository.
If we need a top level folder /svnrepos/ then we should create that first. And then the sub projects.
In that case we would check out like this:
svn co svn://192.168.0.2/svnrepos/myrailsproject
Am I mistaken?