SVN could not commit the presence of can ' t set file '/db/txn_current ' Read-write: Deny access _ server other

Source: Internet
Author: User
Tags svn

SVN cannot submit can ' t set file '/db/txn_current ' Read-write: Access Denied

Reason:

At the time of the commit, the SVN server was forcibly shut down, causing the version information file to be written unsuccessfully, and reading the information after the reboot was incorrect!

Solution:

Re-write the correct version information to the current, txn-current file.

1. Clear version number (recommended to roll back a version, such as 300, take 299, in case the latest commit content is not normal)
and remove the latest version (\REPOSITORIES\PROJECTNAME\DB\REVPROPS\X)
2. Update txn-current (this file must be set to read and write permission to read and write)
3. Update current
4. Refresh the folder from the SVN server to view the version library proof that the problem has been resolved.

Appendix:

Understanding the role of a file

Repository/db/current--Record current latest version number
Repository/db/txn-current--Records the version information in the Repository folder, such as E:\Repositories\AnyWellSourceCode\db\revprops\0, the current value is 0, when editing, Must be added back at 0!

Thank you for reading, I hope to help you, thank you for your support for this site!

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.