我使用使用SVN 1.8的TortoiseSVN,在尝试用较旧版本的SVN更新(通过詹金斯更新1.7 )之后,1.7svn更新操作本身失败,数据库就被破坏了。.svn文件夹中的许多文件和文件夹消失了。在从另一个新副本(没有我的本地更改)复制它们之后,我仍然得到一个
"sqlite: data base image malformed (S11)",我在https://stackoverflow.com/questions/13675615/svn-cleanup-sqlite-database-disk-image-is-malformed/15874781#15874781?newreg=34ee57794e5f4875ac64ecb134a38791中尝试过解决方案,但它们没有奏效。以下是我对此的回应:
C:\my\path>sqlite3 .svn/wc.db "pragma integrity_check"
*** in database main ***
Main freelist: freelist leaf count too big on page 5606
On tree page 5522 cell 116: 2nd reference to page 5606
On tree page 5522 cell 116: Child page depth differs
On page 5522 at right child: invalid page number 5666
row 2995 missing from index I_PRISTINE_MD5
row 2995 missing from index sqlite_autoindex_PRISTINE_1
wrong # of entries in index I_PRISTINE_MD5
wrong # of entries in index sqlite_autoindex_PRISTINE_1
Error: database disk image is malformed
C:\my\path>sqlite3 .svn/wc.db "reindex nodes"
Error: database disk image is malformed
C:\my\path>sqlite3 .svn/wc.db "reindex pristine"
Error: database disk image is malformed发布于 2013-12-26 02:11:01
只需查看一个新的工作副本并删除旧的副本(在将更改移到上面之后)。
一旦WC被更新为较新的版本,您就不能将它与旧版本一起使用。在过去,您只收到一条消息,说客户端对于工作副本来说太老了;随着所有东西都被移动到SQLite数据库中(从1.7开始),当您这样做时,可能会有更高的腐败风险。
https://stackoverflow.com/questions/20758545
复制相似问题