Relocate without relocate in subversion?

喜夏-厌秋 提交于 2019-12-07 04:11:59

问题


I need to switch the base URL of my working copy in subversion.

According to the manual for 1.7 I should be able to use svn relocate. http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html

However, on Ubuntu Linux 12.04 I have version 1.6 which doesn't appear to have the relocate command.

Is there a way to accomplish this in subversion 1.6 or by some other method?


回答1:


I found the answer I was looking for. It's just a matter of running

svn switch --relocate OLD_URL NEW_URL

It looks like on subversion 1.7 you can use the new syntax:

svn relocate NEW_URL


来源:https://stackoverflow.com/questions/14186572/relocate-without-relocate-in-subversion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!