Skip to content

Instantly share code, notes, and snippets.

@nicobo
Created January 25, 2012 23:30
Show Gist options
  • 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