How to modify the message log of a submitted SVN Project

Source: Internet
Author: User

If you directly modify the previous logs in tortoisesvn, the following message is displayed:

Dav request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent
At least one Property Change failed; repository is unchanged.

Logs in the svn database are not managed by version. To prevent the loss of original log information due to misoperations, you are not allowed to modify the logs by default. If you want to make changes on the client, you mustHook directory of repositoryCreatePre-revprop-change.bat, The content is as follows:

If "% 4" = "SVN: log" Exit 0
Echo property '% 4' cannot be changed> & 2
Exit 1

Before modifying the attribute, the script is executed. If 0 is returned, the script agrees to modify the attribute. In addition, note that there is a pre-revprop-change.tmpl under the directory, but that is xnix shell script, Windows platform seems not very easy to use.

Then it can be modified normally on the client. The background should be to call a command similar to the following:

SVN propset-RN-- Revprop SVN: log"New log message"URL

You can also run the following command on the server to do the same, where file is the file path for saving new log information:

 

SVN propset -- revprop-r 282 SVN: log "1. Add the WiFi sdio controller driver. 2. correct the error in the previous version"

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.