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]

Related:

1 Comment(s)

  1. Comment by Ulysses on July 29, 2008 10:32 am

    This is exactly what I am looking for. I’m trying to move a repository to another directory on my website. Renaming or moving would have been ugly or maybe even a disaster. Thank you.

Comments RSS TrackBack Identifier URI

Leave a comment

 

User contributed tags for this post:

1