title: How to handle SVN errors using shell script?
body: <p>Dear All,<br>
  I am trying to achieve <strong>svn copy</strong> operation with the help of shell script. The problem am having is to handle svn errors like <strong>403</strong>. Here goes a brief explanation about the problem,<br>
  My SVN structure looks like:</p>
  
  <pre><code>http://localhost/myproj/branches/dev/dev1
                                  /testing/test1
                                  /maintainance/m1
  </code></pre>
  
  <p>I am trying to write a shell script to achieve this task.<br>
  My Shell script expected behaviour:</p>
  
  <pre><code>Enter the Source url to be copied: http://localhost/myproj/branches/dev/dev1
  Enter the new url name:http://localhost/myproj/branches/testing/test2
  </code></pre>
  
  <p>I don't want my script to show actual svn error to users, if user is not authorized in <strong>testing</strong> branch then svn shows <strong>403 forbidden error</strong>, all I want is to tell the user that <strong>User is dont have access!! Not able to copy, contact administrator</strong>. 
  Is there any possibility of redirecting the svn error to some variable and depending on the value of that variable will show the messages to user. I want to do it in shell script.. pls guide me. </p>
  
  <p>Thanks in advance<br>
  Srikanth B</p>