Note to self: In order to allow changes to the author of an svn commit, the pre-revprop-change hook of the repository must be changed like this:
Insert the line
if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:author" ]; then exit 0; fi
just below the existing, similar line that allows changing svn:log. Omitting the comments the script will then look like this:
#!/bin/sh REPOS="$1" REV="$2" USER="$3" PROPNAME="$4" ACTION="$5" if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:author" ]; then exit 0; fi echo "Changing revision properties other than svn:log is prohibited" >&2 exit 1
The script is located in the hooks subdirectory of the repository.
(Of course the above is for an svn repository located on a Linux server only.)
This change is required for the context menu entry in TortoiseSVN Log Messages window called “Edit Author” to work.