An error is reported when the previous log message is modified:
Dav request failed. It may be because the pre-revprop-change hook of the version library fails to be executed or does not exist. At least one attribute change failed. The version library has not changed.
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
The reason is that the log message entered during SVN submission cannot be modified by default, but the pre-revprop-change file can be modified to achieve this goal:
# Cd/svnroot/test/hooks
# Pre-revprop-change CP pre-revprop-change.tmpl
# Vi pre-revprop-change
Delete the original one at the end. Add the following parameters:
EPOS = "$1"
REV = "$2"
User = "$3"
Propname = "$4"
If ["$ propname" = "SVN: log"]; then exit 0; FI
Exit 1
# Chmod A + x pre-revprop-change // Add the executable permission to pre-revprop-change
Of course, the simplest way is to create a blank pre-revprop-change file and put it in the hooks directory of the version library. However, this method is not strict enough and Users have the right to modify all attributes, for example, modify the author's right (you can submit the spam and then get married ).