title: svn update not working in post commit
body: <p>I am trying to implement a post-commit hook to update a working copy.
  As far as i can figure out the post commit hook is being run (I wrote something in a file to verify it) but the update command was not run.</p>
  
  <p>At first I did</p>
  
  <pre><code>cd /home/user/working/copy
  svn update
  </code></pre>
  
  <p>but that didn't work, then I read you have to give the full path to svn:</p>
  
  <pre><code>cd /home/user/working/copy
  /usr/bin/svn update
  </code></pre>
  
  <p>but still it failed to work.</p>
  
  <p>I changed permisions to 777 and have run the script in an empty enviroment ... and it works.</p>