Created
November 10, 2011 09:03
-
-
Save ronanguilloux/1354469 to your computer and use it in GitHub Desktop.
Rename a svn project (repo + local copy)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remote svn sever: root@remote | |
ssh root@remote | |
svnadmin create /home/svn/NewName | |
svnadmin dump /home/svn/OldName > OldName.dump | |
svnadmin load /home/svn/NewName < OldName.dump | |
rm /home/svn/OldName/ -rf | |
rm OldName.dump | |
exit | |
# Local copy: me@local | |
cd /home/me/workspace/ | |
mv OldName NewName | |
cd NewName | |
# check the actual remote url : svn info | |
svn switch --relocate http://www.remote.com/svn/OldName/trunk http://www.remote.com/svn/NewName/trunk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment