最近,我被迫将安装了subversion
版本控制服务器的开发服务器移动到新位置,因此服务器获得了新的IP
地址。物理存储库在磁盘上的位置为/srv/svn_firmAA/project1
。旧subversion
服务器存储库地址为svn://192.168.0.2:10000/srv/svn_firmAA/project1
。现在,新的subversion
服务器存储库地址为svn://xxx.xxx.xxx.xxx:10000/srv/svn_firmAA/project1
,我尝试将relocate
工作副本复制到新的IP
,其中包括:
svn switch --relocate svn://192.168.0.2:10000/srv/svn_firmAA/project1 svn://xxx.xxx.xxx.xxx:10000/srv/svn_firmAA/project1
我得到以下错误:
svn: E155024: Invalid source URL prefix: 'svn://192.168.0.2:10000/srv/svn_firmAA/project1' (does not overlap target's URL 'svn://192.168.0.2:10000')
为什么?
这是工作副本svn info
输出:
Path: .
Working Copy Root Path: /home/user/Projects/working_copy
URL: svn://192.168.0.2:10000
Relative URL: ^/
Repository Root: svn://192.168.0.2:10000
Repository UUID: 54d40152-b288-42d4-b588-490a5dcf01bf
Revision: 579
Node Kind: directory
Schedule: normal
Last Changed Author: user
Last Changed Rev: 579
Last Changed Date: 2015-12-30 11:06:19 +0100 (sre, 30 dec 2015)
答案 0 :(得分:2)
我设法解决了问题:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<table>
<tr class="table-header">
<td>first</td>
<td>second</td>
<td>third</td>
</tr>
</table>
<table>
<tr>
<td class="table-cell">first</td>
<td class="table-cell">second</td>
<td class="table-cell">third</td>
</tr>
</table>
转发到服务器上的端口20000
) 10000
参数必须 NOT INCLUDE 存储库路径:
svn switch --relocate svn://192.168.0.2:10000 svn://xxx.xxx.xxx.xxx:20000
现在它完美无缺!