To enable the ability to modify log, simply add a file named:pre-revprop-change.bat in the hooks directory and restart SVN.
The contents of this file are:
-----------------------------------------------------------
If "%4" = = "Svn:log" Exit 0
echo Property '%4 ' cannot is changed >&2
Exit 1
-----------------------------------------------------------
Supplemental content:
SVN Common Commands
To set the mimetype of a file:
$ svn propset svn:mime-type image/jpeg foo.jpg
Property ' Svn:mime-type ' set on ' foo.jpg '
On UNIX systems, if you want a file to set Execute permissions:
$ svn propset svn:executable on Somescript
Property ' Svn:executable ' set on ' Somescript '
Perhaps for the benefit of the collaborators you have an internal property setting:
$ svn propset owner Sally FOO.C
Property ' owner ' set on ' foo.c '
If you have some errors in the log information for a particular revision, and you want to modify it, you can use--revprop to set Svn:log as the new log information:
$ svn propset--revprop-r svn:log "journaled about trips to New York."
Property ' Svn:log ' Set on repository revision ' 25 '
Or, you don't have a working copy, you can provide a URL.
$ svn propset--revprop-r svn:log "Document nap." Http://svn.red-bean.com/repos
Property ' Svn:log ' Set on repository revision ' 25 '
Finally, you can tell Propset to get input from a file, and you can even use this method to set a property to binary content:
$ svn propset owner-pic-f sally.jpg moo.c
Property ' Owner-pic ' set on ' moo.c '
Attention
By default, you may not be able to revise the version properties in the Subversion repository, and your repository administrator must display the modified version properties by creating a hook with the name Pre-revprop-change.
SVN modified log information Error solution