svnsvn-repository

Change SVN repository URL


My current SVN structure:

Path: .
URL: svn://someaddress.com.tr/project
Repository Root: svn://someaddress.com.tr
Repository UUID: -------------------------------------
Revision: 10297
Node Kind: directory
Schedule: normal
Last Changed Author: ----
Last Changed Rev: 9812
Last Changed Date: 2010-12-20 17:38:48 +0100 (Mon, 20 Dec 2010)

But our project (hence the SVN service) will work over sub.someaddress.com.tr instead of someaddress.com.tr (someaddress.com.tr will be redirected to somewhere else soon).

Since it is the development server, I could not be sure about what to do. Will I need to use svn switch or svn switch --relocate? Also, will I need to switch svn root someaddress.com.tr or the project branch someaddress.com.tr/project?


Solution

  • Given that the Apache Subversion server will be moved to this new DNS alias: sub.someaddress.com.tr:

    Note: svn relocate is not available before version 1.7 (thanks to ColinM for the info). In older versions you would use:

        svn switch --relocate OLD NEW