79155079

Date: 2024-11-04 10:44:33
Score: 1.5
Natty:
Report link

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?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: user2338823