I set up Subversion repositories so infrequently that I always have to dig around on the web for the few steps that it takes. So here they are:
- You need to create the repository. I like to have one repository for each project (the pros and cons of this are discussed aplenty on the Internet).
prompt> svnadmin create /path/to/repo - Now the code you have already written has to be imported:
prompt> svn import path/to/project file:///path/to/repo -m "Imported goods" - Finally, you need to check out the code so you can start working on the versioned copy:
prompt> svn co file:///path/to/repo
Filed under: Sysadmin