close
1. 開啟 VisualSVN Server Manager
2. 點選你要設定的 Repository 開啟 properties
3. 點選 HOOKs 的 TAB
4. 點選 Revision property change 底下的 Pre-revision property change hook,加上以下內容
SET REPOS="%1"
SET REV="%2"
SET USER="%3"
SET PROPNAME="%4"
SET ACTION="%5"
IF %ACTION% == "M" (IF %PROPNAME% == "svn:log" (EXIT 0))
ECHO "Changing revision properties %PROPNAME% is prohibited" >&2
EXIT 1
全站熱搜
留言列表