Subversion and TortoiseSVN: Moving a repository
This evening I had to rename a project folder, since I was creating a site with the same name.
Since I had the project (application) under Subversion, I also needed to move the repository.
Here's what I did:
svnadmin create b:\repos\_newName_
svnadmin dump b:\repos\_oldName_ > b:\repos_dump\_oldName_.dump
svnadmin load b:\repos\_newName_ < b:\repos_dump\_oldName_.dump
At this point I could either checkout the repository, or change where the checked out directory points to.
I choose to relocate my working copy by right-clicking on my working directory and selecting Relocate from the TortoiseSVN menu. Point it to the new directory, and rename your working directories name, and you're set.
Support This Site
If my blog was helpful to you, then please consider visiting my Amazon Wishlist.