]>
Tony Duckles's Git Repositories (git.nynim.org) - svn2svn.git/blob - hook-examples/pre-revprop-change_example.bat
10 rem Print out some debug info
11 echo pre
-revprop
-change
: REPOS
=%REPOS% REV
=%REV% USER
=%USER% PROPNAME
=%PROPNAME% ACTION
=%ACTION% >&2
13 rem Allow modifying certain properties
14 if "%PROPNAME%" == "svn:author" goto ALLOW
15 if "%PROPNAME%" == "svn:date" goto ALLOW
17 rem Reject everyting else
21 echo Not allowed to change
%PROPNAME% >&2