This is one of those things I have to do once every so often and that I can never freaking remember how to do.
- Create a repository on the server. AFAIK can’t be done over the network; must be done on the machine hosting the repository.
# svnadmin create /path/to/repositoryname
- Import your files (often from a remote machine).
$ svn import /tmp/project svn://url.com/repositoryname -m "initial freaking import"
- Check them out again to your desired directory.
$ svn checkout svn://url.com/repositoryname
That’s it! See the Quick Start in the online book if you need to mess around with branches and tags and the like.