Recovering a SVN Repository with out a dump file

隐身守侯 提交于 2019-12-07 20:37:28

you can always create a dumpfile by using

svnadmin dump [PATH_TO_REPO] > newDump.dmp

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?

This blog post mentions the error message, abide with a different revision number.

I noticed that the error claimed that revision 296 did not exist and indeed, when I opened the db/revs folder it only went up to 295. With a completely wild guess, I opened the /current file and noticed that it had the 296 revision number on it, so I assumed this is the pointer to the latest revision, but the data never made it to the server... I modified the number to 295 and everything immediately started working.

That's a bit of hack though.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!