Sample of pre-revprop-change hook script for Windows
- Copy the existing
pre-revprop-change.tmplfile topre-revprop-change.batin your repository hook folder. - Edit the content, replace it with this:
set REPOS=%1
set REV=%2
set USER=%3
set PROPNAME=%4
set ACTION=%5
if %ACTION% == M (
if %PROPNAME% == svn:log (
exit 0
)
)
rem echo "Changing revision properties other than svn:log is prohibited" >&2
exit 1
- Try to change the log message using TortoiseSVN
- Good luck! :)
For more complete example, try this: http://svn.haxx.se/users/archive-2006-03/0107.shtml
