在没有转储文件的情况下恢复 SVN 存储库
我有一个旧存储库,没有转储文件。 不过,我确实拥有完整的存储库,并且希望能够在新系统上运行它。
我尝试阅读 服务器故障后从目录备份中恢复 svn给了我希望,但似乎对我不起作用。 每当我将 TortoiseSVN 或 svnadmin 指向存储库文件夹来检查它时,它都会报告“没有这样的修订版 1”,尽管 db 文件夹中有 130 转。
您能提供的任何建议将不胜感激。
托尼
I have an old repository that I have no dump file for. I do have the complete repository, though, and am hoping that I can get it running on a new system.
I tried reading Recover svn from directory backup after server failure which gives me hope, but doesn't seem to have worked for me. Whenever I point TortoiseSVN or svnadmin at the repository folder to examine it, it reports "No such revision 1" despite there being 130 revs in the db folder.
Any advice you could offer would be greatly appreciated.
Tony
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这个博客文章提到了错误消息,请遵守不同的修订号。
不过,这有点黑客行为。
This blog post mentions the error message, abide with a different revision number.
That's a bit of hack though.
您始终可以使用“但是,我怀疑您会成功”来创建转储文件,
因为错误消息表明您的修订有问题。
db/revs-dir 中是否有一个名为“1”的文件?
you can always create a dumpfile by using
However, I doubt you will succeed as the error message indicates that there is simply something wrong with your revisions.
Is there an file called "1" insinde the db/revs-dir?