title: How to rename a file using svn?
body: <p>When I try <code>svn mv old_file_name new_file_name</code>, I get</p>
  
  <pre><code> svn: Path 'new_file_name' is not a directory
  </code></pre>
  
  <p>What's the correct way? (sorry, this seems so trivial, but I'm stuck).</p>
  
  <p>PS. using svn version 1.6.11</p>
  
  <p><strong>EDIT</strong> it seems I get this error only if <code>new_file_name</code> refers to the name of a file that is currently under version control. In this case, of course, I can simply</p>
  
  <pre><code> mv old_file_name new_file_name
   svn delete old_file_name
  </code></pre>