开发者

How to relocate copied svn folder

开发者 https://www.devze.com 2022-12-12 10:08 出处:网络
i copied an existing svn folder (a) to a new folder b and want to also switch the repository url. Its still pointing to a repo.

i copied an existing svn folder (a) to a new folder b and want to also switch the repository url. Its still pointing to a repo.

i try svn switch --relocate but only get:

svn: Relocate can only change the repository part of开发者_JAVA技巧 an URL

What is the right way to do this task?

Thanks for your help!


--relocate can only change the base repository, not the path within a repository

For example:

To switch from http://serverA/repo/path/to/dir to another repo http://serverB/repo/path/to/dir you would type in:

svn switch http://serverA/repo http://serverB/repo

Read svn switch from the SVN Book

As per your comment

my syntax is like: svn --relocate svnserver.com/some/folder/a svnserver.com/some/folder/b

You cannot use --relocate to change folder path, only the repo.

0

精彩评论

暂无评论...
验证码 换一张
取 消