Skip to content

Instantly share code, notes, and snippets.

@nicobo
Created January 25, 2012 23:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicobo/1679659 to your computer and use it in GitHub Desktop.
Save nicobo/1679659 to your computer and use it in GitHub Desktop.
pre-revprop-change hook for svnsync
@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