title: subversion pre-commit hook error code 255
body: <p>I added pre-commit hook script to the repository. </p>
  
  <p>It always gives below error while committing:</p>
  
  <pre><code>svn: Commit blocked by pre-commit hook (exit code 255) with no output.
  </code></pre>
  
  <p>I have already checked that my pre-commit script is having executable permission and its  a bash script.</p>
  
  <pre><code>#!/bin/bash 
  </code></pre>
  
  <p>is added in the beginning of the file.</p>
  
  <p>Even if I write </p>
  
  <pre><code>exit 0  
  </code></pre>
  
  <p>in the beginning of the file, it is not allowing me to commit and giving the same 255 error.</p>
  
  <p>Now my script looks like:</p>
  
  <pre><code>#!/bin/bash
  exit 0
  </code></pre>
  
  <p>and I am again getting the same error while committing.</p>
  
  <p>I just want to know what is error code 255 and how can I make my pre-commit script work properly?</p>