title: How to set a trigger to prevent commits to SVN with mergeinfo property?
body: <p>I'd like to <a href="https://stackoverflow.com/questions/1984598/how-to-avoid-svnmergeinfos-on-sub-folders">avoid creating svn mergeinfo property</a> on anything but the root of branches.
  We have a trunk branch and some other branches.</p>
  
  <p>Assuming I know absolutely nothing about svn triggers, what steps do I need to follow to setup a pre-commit hook that prevents additions of mergeinfo properties to anything but the root of branches?</p>
  
  <p>The trunk is located in the repository's base "/trunk", and all branches are in "/branches/foo"</p>