Subversion/Changing Repository URL

From Gentoo Linux Wiki

Jump to: navigation, search

[edit] Introduction

Sometimes Subversion repositories move to a new machine. Instead of deleting a checked out copy and re-checking out the copy you can simply switch URL of checked out svn copy.

[edit] HOWTO

cd /var/my_repo
svn switch --relocate http://current_svn_url http://new_svn_url ./

This will relocate the url for your subversion repository

[edit] Links

Personal tools