svn cleanup: sqlite: database disk image is malformed

前端 未结 17 1543
谎友^
谎友^ 2020-12-02 06:31

I was trying to do a svn cleanup because I can\'t commit the changes in my working copy, and I got the following error:

sqllite: databas

17条回答
  •  忘掉有多难
    2020-12-02 07:01

    After a power blackout, I ran into the database disk image is malformed error and the suggested reindex nodes command did not fix all issues due to violated constraints. Also the procedure described in http://mail-archives.apache.org/mod_mbox/subversion-users/201111.mbox/%3C874nybhpxi.fsf@stat.home.lan%3E did not resolve the problem.

    Solution in my case:

    • Checkout the svn repository again into a temporary folder
    • Copy, i.e. replace, the file ".svn/wc.db" from the new checkout to the corrupt one

    This may be useful, if your original svn checkout contains many modified or unversioned files and you don't want to switch to a fresh svn checkout.

提交回复
热议问题