HowTo: SVN

Filed under: Technical References

Posted: March 7, 2009

Creating a Repository

The repository is the place where your files, revisions and settings are stored on your server machine. You can have one project per repository, or you can have multiple projects in one repository. How you use Subversion should reflect the choice you made on how many projects you wish to have in your repository.

svnadmin create $HOME/.svn
ls $HOME/.svn
#README.txt conf/ dav/ db/ format hooks/ locks/

NOTE: In either case do not manually edit the contents of this directory. You should use the svnadmin tool as appropriate. If you do edit these files by hand you can break your repository!

NOTE: Creating a repository in a folder named ‘.svn’ can cause lots of problems if you are not sure what you are doing choose a different name.