Created
January 25, 2012 23:30
-
-
Save nicobo/1679659 to your computer and use it in GitHub Desktop.
pre-revprop-change hook for svnsync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
set user=%3 | |
if /I '%user%'=='syncuser' goto ERROR_REV | |
exit 0 | |
:ERROR_REV echo "Only the syncuser user may change revision properties" >&2 | |
exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment