从 Subversion 存储库恢复数据(原始数据已删除)

发布于 2024-08-16 04:13:10 字数 124 浏览 4 评论 0原文

我想,我找不到解决这个问题的方法。我的硬盘驱动器上包含源代码的分区已损坏,但我仍然有一个完整的分区,其中包含该源代码的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

反话 2024-08-23 04:13:10

是的,如果存储库完好无损,您可以取回所有源代码。首先,备份。然后,您应该能够从存储库中签出,并且您将获得最新提交的源代码。

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.

鸩远一方 2024-08-23 04:13:10

只需从您的存储库中签出,您将获得上次签入的完整源代码。创建一个新目录,执行以下命令:

$ svn checkout <repository url>

您将获得一个全新的副本。

Simply checkout from your repository, and you'll get the complete source you last checked-in. Create a new directory, execute the following command:

$ svn checkout <repository url>

And you'll get a fresh new copy.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文