在颠覆中重定位而不重定位? [英] Relocate without relocate in subversion?
问题描述
我需要在 subversion 中切换我的工作副本的基本 URL.
I need to switch the base URL of my working copy in subversion.
根据 1.7 的手册,我应该可以使用 svn relocate.http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html
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
但是,在 Ubuntu Linux 12.04 上,我的 1.6 版似乎没有 relocate 命令.
However, on Ubuntu Linux 12.04 I have version 1.6 which doesn't appear to have the relocate command.
有没有办法在 subversion 1.6 或其他方法中完成此操作?
Is there a way to accomplish this in subversion 1.6 or by some other method?
推荐答案
我找到了我想要的答案.只是跑步的问题
I found the answer I was looking for. It's just a matter of running
svn switch --relocate OLD_URL NEW_URL
看起来在 subversion 1.7 上你可以使用新的语法:
It looks like on subversion 1.7 you can use the new syntax:
svn relocate NEW_URL
这篇关于在颠覆中重定位而不重定位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!