Sometimes it is necessary to modify or supplement the log information of the errors submitted by the previous version:
1. Change under Windows
For example, use the TORTOISESVN client under Windows, select the code directory, right-click, select <show log>
In the Log List dialog box, select a commit version, then right-click and select <edit log Message>, as shown in the following figure:
Because of the security by default, subversion does not allow developers to modify the log information of submitted reversion, which will report an error, indicate that it cannot be modified, and ask the SVN administrator to install the pre revprop change hook.
What does this hook mean? is actually a version of the log change preprocessor, mainly used to save the old log information, in order to avoid the change when the error occurs, cannot be restored.
The ability of the developer to change the log can be given by the Administrator by doing the following:
#cd/opt/svn/repos/hooks
#mv pre-revprop-change.tmpl pre-revprop-change
#chmod 755 pre-revprop-change
2. Change under Linux
$SVN propedit-r n--revprop svn:log url
$svn propset-r N--revprop svn:log "new log Message" URL
where n is the version number, the URL is the path to the code warehouse, and if the command is executed in working copy, the URL can be slightly.
If you encounter an error message:
DAV request failed; It's possible that the repository ' s Pre-revprop-change hooks either failed or is non-existent
As with Windows changes, the administrator installs the Pre-revprop-change hook.
Reference Links:
Http://stackoverflow.com/questions/304383/how-do-i-edit-a-log-message-that-i-already-committed-in-subversion
Http://stackoverflow.com/questions/197224/what-is-a-pre-revprop-change-hook-in-svn-and-how-do-i-create-it
by Iefreer