Here's the dilemma:
I have a folder structure:
product/branches/stable product/branches/someotherbranch product/tags product/trunk
I have two users: John and Joe.
I want to prevent Joe from committing to: product/branches/stable and product/tags
What is the pre-commit hook syntax in Perl or Bash or whatever to get the job done?