Change Repository Path in SVN

On occasion you will need to migrate your svn repository to another server, or another path. Checked out svn repositories have a path associated with them. You may not want to re-checkout your code for various reasons and just changing the repository path may be useful. SVN provides for this using the “switch” and “–relocate” parameter. Here is an example:

svn switch --relocate file:///original/repository/path file:///new/repository/path

This will switch the checked out version to use the svn new repository path.

Be the first to comment

Leave a Reply