This page contains quick recipes for Subversion tasks.
Migrating a Repository
If you want to move code, along with history, from one repository to another, it’s not enough to just use svn export and svn import — they don’t retain history. So you have to use the svnadmin utility. You can dump your repository with a command like:
$ svnadmin dump /path/to/your/repos >
See dump command reference for details. If you have more than the project you’re migrating in your source repository, you’ll want to then filter your dump. See the svndumpfilter command for how to do this.
Once you’ve dumped the repository, you can use the svn load command to import it into the new repository.