move

Moving a Subversion Repository

I foolishly just moved a Subversion repository by importing the contents of a current checkout into a new repository. Wrong. A friend pointed out these instructions that make it easy and preserve the revision history.

Here’s the trick:

svnadmin dump /path/to/repository > repository-name.dmp

and

svnadmin load repository-name < repository-name.dmp

[tags]svn, subversion, move, repository[/tags]