Renaming SVN repository project name

前端 未结 5 1962
囚心锁ツ
囚心锁ツ 2021-01-31 03:21

I have migrated a project from CVS to SVN. Now I need to rename that project. What can be the best possible way to rename it, keeping the all the history intact. The project fol

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-31 03:38

    SVN Book \ 5. Repository Administration \ Moving and Removing Repositories:

    Subversion repository data is wholly contained within the repository directory. As such, you can move a Subversion repository to some other location on disk, rename a repository, copy a repository, or delete a repository altogether using the tools provided by your operating system for manipulating directories

    Rename is typical done on the same server, so a simple rename/move of the repository directory will do it. The call of svnadmin setuuid is not required, because you are not making a copy and the UUIDs should stay the same, so your client can easily relocate to the new repository URL.

提交回复
热议问题