- 切換到想要的repository/hooks
- 使用mv pre-revprop-change.tmpl pre-revprop-change
- chmod
+x pre-revprop-change (將檔案加入執行權限) - vi pre-revprop-change,修改後內容如下REPOS="$1"REV="$2"USER="$3"PROPNAME="$4"ACTION="$5"if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fiecho "Changing revision properties other than svn:log is prohibited" >&2exit 1
- 存檔離開,就可以edit log了
沒有留言:
張貼留言