Change SVN repository URL

前端 未结 4 1888
盖世英雄少女心
盖世英雄少女心 2021-01-30 03:35

My current SVN structure:

Path: .
URL: svn://someaddress.com.tr/project
Repository Root: svn://someaddress.com.tr
Repository UUID: ------------------------------         


        
4条回答
  •  南方客
    南方客 (楼主)
    2021-01-30 04:24

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

    • With Subversion 1.7 or higher, use svn relocate. Relocate is used when the SVN server's location changes. switch is only used if you want to change your local working copy to another branch or another path. If using TortoiseSVN, you may follow instructions from the TortoiseSVN Manual. If using the SVN command line interface, refer to this section of SVN's documentation. The command should look like this:

      svn relocate svn://sub.someaddress.com.tr/project

    • Keep using /project given that the actual contents of your repository probably won't change.

    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
    

提交回复
热议问题