如何从本地结帐恢复 svn 服务器 [英] How to recover a svn server from local checkouts

查看:31
本文介绍了如何从本地结帐恢复 svn 服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的 svn 服务器意外丢失了所有数据,我们的 svn 存储库文件也丢失了.目前我们只有svn仓库的本地签出,有没有办法恢复svn仓库?

Our svn server has accidently lost its all data, and our svn repository files are lost. Currently we have only local checkouts of the svn repository, is there any way to recover the svn repository?

推荐答案

整个 svn 历史记录都在服务器中,因此您无法从结帐中恢复它.您唯一能做的就是创建一个新的存储库并提交代码,以便您可以重新开始.

The whole svn history is in the server, so you cannot recover it from your checkouts. The only thing you can do is create a new repository and commit the code so you can start again.

将来我建议您保留存储库的副本.查看 svn 转储命令.

In the future I would recommend you to keep a copy of you repository. Take a look to the svn dump command.

这篇关于如何从本地结帐恢复 svn 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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