Relocate without relocate in subversion?

2019-04-29 20:23发布

问题:

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