title: SVN propset invoking in SVN hook doesn't work
body: <p>How do I invoke svn propset in an svn hook?</p>
  
  <p>My svn repo allows change wrong svn:log properties.
  It is implemented with default pre-revprop-change template.</p>
  
  <p>I want to modify default pre-revprop-change template and saving old history in other revision properties.</p>
  
  <p>So I wrote script, that invokes svn propset in svn hook:</p>
  
  <pre><code>REPOS="$1"
  REV="$2"
  USER="$3"
  PROPNAME="$4"
  ACTION="$5"
  
  if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ];
  then
  echo "log01" &gt;&gt; /var/svn/history01.txt; #temp for testing
  svn propset --revprop -r $REV  log:my "old_msg_for_history"
  file:///var/svn/repo
  
  exit 0; fi
  
  if [[ $PROPNAME == log* ]];
  then
          if [ "$ACTION" = "M"];
          then
          echo "log23 $REV" &gt; /var/svn/history.txt; #temp for testing
          fi;
   exit 0; fi
  
  echo "Changing revision properties other than svn:log is prohibited" &gt;&amp;2
  exit 1
  </code></pre>
  
  <p>When I invoke directly</p>
  
  <pre><code>svn propset --revprop -r 38041  log:my "msg_for_history" file:///var/svn/repo
  </code></pre>
  
  <p>it works fine</p>
  
  <p>When I invoke undirectle via hook</p>
  
  <pre><code>svn propset --revprop -r 38041  svn:log "msg_for_history" file:///var/svn/repo
  </code></pre>
  
  <p>svn propset is not invoked, but diagnostic message appears </p>
  
  <pre><code>echo "log01" &gt;&gt; /var/svn/history01.txt; #temp for testing
  </code></pre>
  
  <p>Why?</p>