Merge r1486457 from trunk:

 * r1486457
   svnpubsub: make the example commit hook work with 1.8 libsvn_repos.
   Justification:
     Examples should work.
   Votes:
     +1: brane (via dev@), breser, danielsh


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x@1486733 13f79535-47bb-0310-9956-ffa450edef68