Solution to SVN update failure caused by server restart when code is submitted to SVN

Source: Internet
Author: User
Tags svn update

Submit this morningCodeWhen an error occurs, the project is updated and displayed.

SVN: Can't read length line in file 'f: \ SVN \ svnrepo \ dB \ revprops \ 8345'

I am very depressed. I did not search on the Internet. I guess there was a problem when I submitted the code. I asked the project team and said that I had restarted the svn server at that time, it is estimated that the information is incomplete because I am submitting code during the restart,

Try to use the svnadmin recover command to fix the problem. If it is fruitless, it can only be solved manually.

Delete all files (including 8345) in the revprops and revs directories in the svnrepo \ dB directory, and modify the current file in the DB directory,

My version is 8448 OIF Ga, of which 8448 is the latest version. Change 8448 to 8344 (the previous version is incorrect ).

Run the svnadmin Verify command to query the previous version number.

PS: If you have submitted code using eclipse after an error occurs, the current version of the eclipse project is newer than the version on the svn server and cannot be updated. Back up the original project first, check the project again, copy the modified Code, and submit it again.

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.