SVN Import Fail

If you ever get an error like this,

$ svn import /home/user/repos/new file:///home/svn/repos/default/ -m “initial”
svn: Unable to open an ra_local session to URL
svn: Unable to open repository ‘file:///home/svn/repos/default’

after an svn import it’s because, like me, you’re lame. The syntax is wrong and should look like this,

$ svn import /home/svn/repos/default/ file:///home/user/repos -m “initial import”

Notice the source is first then the repo you want to import to. Doh!

  • Thanks for this advice!!! I was searchg for hours! You saved my night.
blog comments powered by Disqus