TortoiseSVN(移至新的存储库) [英] TortoiseSVN (relocate to new repository)

查看:195
本文介绍了TortoiseSVN(移至新的存储库)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将应用程序从旧存储库重新定位到新存储库时,我们面临着一个问题.

We are facing a problem in relocating our application from the old repository to a new one.

最初,我们使用的是//10.X.X.50/svn/XXX.现在,由于服务器硬盘崩溃(10.X.X.50),我们尝试转移到//10.X.X.152:8443/svn/XXX处的新存储库.

Initially we were using //10.X.X.50/svn/XXX. Now we try to shift to the new repository at //10.X.X.152:8443/svn/XXX as the server hard disk has crashed (10.X.X.50).

当我们尝试在TortoiseSVN中使用relocate选项时-会出现错误:

While we are trying to use relocate option in TortoiseSVN - it gives an error:

位于"> https://10.XX152:8443/svn/XXX的存储库有UUID '5005c752-e8bc-6a46-9f1b-84ec39085508',但WC具有 '005a1777-a2fa-4437-9a0c-b35647624529'

The repository at 'https://10.X.X.152:8443/svn/XXX' has uuid '5005c752-e8bc-6a46-9f1b-84ec39085508', but the WC has '005a1777-a2fa-4437-9a0c-b35647624529'

我们正在使用TortoiseSVN 1.5.9,内部版本15518-32位.

We are using TortoiseSVN 1.5.9, Build 15518 - 32 bit.

当前,在另一台服务器上创建的新存储库具有三个创建的文件夹:分支,标签和主干.

Currently, the new repository which is created on another server has three folders created: Branches, Tags and Trunk.

推荐答案

您应该:

  • Set the old UUID for your new repository, using svnadmin setuuid
    • svnadmin setuuid REPOS_PATH [NEW_UUID]

    如果您选择第一个选项,则在新存储库UUID与旧存储库匹配时,只需在Windows资源管理器中转到工作副本,右键单击空白处并选择,

    If you go for the first option, when the new repository UUID's match the old one, just go to your working copy in Windows Explorer, right click in a blank spot and choose,

    * TortoiseSVN→重新定位... ,然后将提示您输入新的存储库位置.

    *TortoiseSVN → Relocate..., and there you will be prompted for the new repository location.

    然后:

    这篇关于TortoiseSVN(移至新的存储库)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆