You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Schonle <be...@amigos24.net> on 2008/04/18 04:55:30 UTC
Unable to open an ra_local session to URL
Hi,
when trying to import to a repository called "myrepo" I get the
following error:
Command:
root@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@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@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Unable to open an ra_local session to URL
Posted by Ben Schonle <be...@amigos24.net>.
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@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@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@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@subversion.tigris.org
> For additional commands, e-mail: users-help@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@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org