[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Unable to open an ra_local session to URL

From: Ben Schonle <ben_at_amigos24.net>
Date: Fri, 18 Apr 2008 08:13:18 +0300

Hi,

just figured it out, I mixed up syntax of Path and URL

import [PATH] URL

Path is what you want to import, URL is where you want to import to.

it was: *svn import /home/svn/myrepo/ file:///home/ben/test -m "initial
import"*
it must be: *svn import /home/ben/test file:///home/svn/myrepo/testfile
-m "initial import" *

Maybe helpful when this question turns up again.

Cheers,
Ben

Ben Schonle wrote:
> Hi,
>
> when trying to import to a repository called "myrepo" I get the
> following error:
>
> Command:
> root_at_ben-desktop:/home/svn/myrepo# svn import /home/svn/myrepo/
> file:///home/ben/test -m "initial import"
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///home/ben/test'
>
> Command:
> root_at_ben-desktop:/home/svn/myrepo# ls -l
> total 28
> drwxr-sr-x 2 root subversion 4096 2008-04-18 07:09 conf
> drwxr-sr-x 2 root subversion 4096 2008-04-18 07:09 dav
> drwxr-sr-x 5 root subversion 4096 2008-04-18 07:09 db
> -r--r--r-- 1 root subversion 2 2008-04-18 07:09 format
> drwxr-sr-x 2 root subversion 4096 2008-04-18 07:09 hooks
> drwxr-sr-x 2 root subversion 4096 2008-04-18 07:09 locks
> -rw-r--r-- 1 root subversion 229 2008-04-18 07:09 README.txt
> I also changed the permissions, but it did not help
>
> Code:
>
> root_at_benroot@ben-desktop:/home/svn/myrepo# ls -l
> total 28
> drwxrwsr-x 2 root subversion 4096 2008-04-18 07:09 conf
> drwxrwsr-x 2 root subversion 4096 2008-04-18 07:09 dav
> drwxrwsr-x 5 root subversion 4096 2008-04-18 07:09 db
> -rwxrwxr-- 1 root subversion 2 2008-04-18 07:09 format
> drwxrwsr-x 2 root subversion 4096 2008-04-18 07:09 hooks
> drwxrwsr-x 2 root subversion 4096 2008-04-18 07:09 locks
> -rwxrwxr-- 1 root subversion 229 2008-04-18 07:09 README.txt
> The user ben belongs to the group:
> subversion:x:1001:ben,www-data,root
> Any help?
>
> Thx,
> Ben
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>

-- 
Best regards,
Ben Schoenle
Founder of Kairos Enterprises OÜ
----------------------------------------------------
Amigos24.net is a service of Kairos Enterprises OÜ
Cybernetica Maja, Akadeemia tee 21 G
Harjumaa, 12618 Tallinn, Estonia
Tel: 00372 6547555
Skype: ben.at.kairos
MSN: Hallohallo220_at_hotmail.com
* * *
This e-mail may contain confidential and/or privileged information. If you are not
the intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
* * *
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-18 07:12:30 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.