title: Why would "svn mkdir URL" not work and "svn import ... URL" on the same URL work fine?
body: <p>I have a svn repository set up at </p>
  
  <pre><code>https://hostname/svn/repo
  </code></pre>
  
  <p>with multiple projects in it, like</p>
  
  <pre><code>https://hostname/svn/repo/proj_a
  https://hostname/svn/repo/proj_b
  https://hostname/svn/repo/proj_c
  </code></pre>
  
  <p>I can work with the existing projects without problems, I can checkout any of them, commit changes, list contents... </p>
  
  <p>Now I want to create a new project in the repository, but if I try </p>
  
  <pre><code>svn mkdir https://hostname/svn/repo/new_project
  </code></pre>
  
  <p>on the command line I get the infamous</p>
  
  <pre><code>Repository moved permanently to 'https://hostname/svn/repo/'; please relocate
  </code></pre>
  
  <p>error message. Same if I try to list repository contents with <code>svn ls</code>. If instead of creating the new project folder before and adding the files later I right click the <code>new_project</code> folder in Eclipse and "share project" everything works fine. Sharing the project in Eclipse should be the equivalent of doing</p>
  
  <pre><code>svn import new_project https://hostname/svn/repo/new_project/trunk
  </code></pre>
  
  <p>on the command line, right? What is it I don't get? What's wrong with the repository?</p>
  
  <p><strong>Edit</strong> the <code>mkdir</code> command above was wrong as Álvaro G. Vicario noticed in <a href="https://stackoverflow.com/a/10009242/6069">his reply</a></p>
  
  <p><strong>Update</strong> looks like <a href="http://subversion.apache.org/faq.html#http-301-error" rel="nofollow noreferrer">this entry in the FAQ</a> may be related (via <a href="https://serverfault.com/a/129135/241">serverfault</a>)</p>