SVN: Database disk image is malformed Solution

Source: Internet
Author: User
Tags svn client

SVN data loss and data exceptions may occur when the svn server is accidentally interrupted or the server is frequently powered off.

For example, if an error occurs in the svn database, the file can be transferred when the svn client submits the file, but an error is prompted at the end of the transfer.

Using the sqlite3 command to view the exception to this database file rep-cache.db

Google a bit, see someone suggested to rename the database file backup or delete, original: http://svn.haxx.se/users/archive-2010-12/0257.shtml

Then rename this file to rep-cache.db-bak, In the submission successful !!

But there is a drawback in doing so that the previous tasks cannot be rolled back... the previous data is gone!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.