从 Subversion 存储库恢复数据(原始数据已删除)
我想,我找不到解决这个问题的方法。我的硬盘驱动器上包含源代码的分区已损坏,但我仍然有一个完整的分区,其中包含该源代码的 SVN 存储库。任何人都可以建议我是否可以单独从存储库检索整个数据(我提交的源代码)?
问候 瓦伦
I guess, i couldnt find solution to this problem. The partition of my hard drive containing the source codes is corrupted, however I still do have one partition intact containing the SVN repository of that source code. Can anyone suggest me if I can retrieve whole data (my commited source code) from the repository alone?
Regards
Varun
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,如果存储库完好无损,您可以取回所有源代码。首先,备份。然后,您应该能够从存储库中签出,并且您将获得最新提交的源代码。
Yes, you can get all of your source code back if the repository is intact. FIRST, BACK IT UP. Then, you should be able to do a checkout from the repository, and you will have your latest committed source code back.
只需从您的存储库中签出,您将获得上次签入的完整源代码。创建一个新目录,执行以下命令:
您将获得一个全新的副本。
Simply checkout from your repository, and you'll get the complete source you last checked-in. Create a new directory, execute the following command:
And you'll get a fresh new copy.