You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jens Kubieziel <ma...@kubieziel.de> on 2005/03/26 21:33:07 UTC

importing fails because unable to open ra_local

Hi,

I came across a problem I read several times in this list. However it
seemed to me that nobody posted a solution. Thatswhy I'm asking it
again. ;-)

I'm runnning:
$ svn --version
svn, version 1.1.3 (r12730)
   compiled Feb 22 2005, 00:27:26
[...]
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' schema

and try to work through O'Reillys Subversion book (which is IMHO similar
to http://svnbook.red-bean.com/). What did I do?

$ svnadmin create testrepo
$ ls -la testrepo
insgesamt 40
drwxr-xr-x   7 jens jens 4096 2005-03-26 22:24 .
drwxr-xr-x  83 jens jens 8192 2005-03-26 22:24 ..
drwxr-xr-x   2 jens jens 4096 2005-03-26 22:24 conf
drwxr-xr-x   2 jens jens 4096 2005-03-26 22:24 dav
drwxr-sr-x   2 jens jens 4096 2005-03-26 22:24 db
-r--r--r--   1 jens jens    2 2005-03-26 22:24 format
drwxr-xr-x   2 jens jens 4096 2005-03-26 22:24 hooks
drwxr-xr-x   2 jens jens 4096 2005-03-26 22:24 locks
-rw-r--r--   1 jens jens  379 2005-03-26 22:24 README.txt

This directory lives inside my homedir which is an ext3 partition. I
ww
and try to work through O'Reillys Subversion book (which is IMHO similar
to http://svnbook.red-bean.com/). What did I do?

$ svnadmin create testrepo
$ ls -la testrepo
insgesamt 40
drwxr-xr-x   7 jens jens 4096 2005-03-26 22:24 .
drwxr-xr-x  83 jens jens 8192 2005-03-26 22:26 ..
drwxr-xr-x   2 jens jens 4096 2005-03-26 22:24 conf
drwxr-xr-x   2 jens jens 4096 2005-03-26 22:24 dav
drwxr-sr-x   2 jens jens 4096 2005-03-26 22:24 db
-r--r--r--   1 jens jens    2 2005-03-26 22:24 format
drwxr-xr-x   2 jens jens 4096 2005-03-26 22:24 hooks
drwxr-xr-x   2 jens jens 4096 2005-03-26 22:24 locks
-rw-r--r--   1 jens jens  379 2005-03-26 22:24 README.txt

This repository lives inside my homedirectoy and is an ext3 partition. I
wanted to import a plain text file after creating the repository:

$ svn import testrepo file:///home/jens/chili -m testing
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///home/jens/chili'
$ svn (ls|status|info) testrepo
svn: 'testrepo' is not a working copy

I tried to cd inside the repository and doing the same. Furthermore I
found some hints to change rights (chmod 777) the repository. All of
them didn't work. So I have no idea what do to. Could you give me a hint
or tell me if you need more information?


-- 
Jens Kubieziel                                   http://www.kubieziel.de
FdI#355: Gericom
Geratrischer Computer. Gehört nächste Woche zum alten Eisen.
(Ralf Döblitz)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: importing fails because unable to open ra_local

Posted by Jens Kubieziel <ma...@kubieziel.de>.
* John Szakmeister schrieb am 2005-03-26 um 22:38 Uhr:
> On Saturday 26 March 2005 16:33, Jens Kubieziel wrote:
> > $ svn import testrepo file:///home/jens/chili -m testing
> > svn: Unable to open an ra_local session to URL
> > svn: Unable to open repository 'file:///home/jens/chili'
> 
> You probably mean:
>   'svn import /home/jens/chili file:///path/to/testrepo'

Silly me.

> You should take a read through the free book available at 
> http://svnbook.org.

I have the O'Reilly version here, but I guess I should learn to _read_.
;-)

-- 
Jens Kubieziel                                   http://www.kubieziel.de
FdI#234: Integrationstest
Einladung sich zum Gedankenaustausch über Systemarchitektur zu
treffen. (Manfred Worm Schäfer)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: importing fails because unable to open ra_local

Posted by John Szakmeister <jo...@szakmeister.net>.
On Saturday 26 March 2005 16:33, Jens Kubieziel wrote:
[snip]
> $ svn import testrepo file:///home/jens/chili -m testing
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///home/jens/chili'

You probably mean:
  'svn import /home/jens/chili file:///path/to/testrepo'

> $ svn (ls|status|info) testrepo
> svn: 'testrepo' is not a working copy

You need to type in the URL:
  'svn ls file:///path/to/testrepo'

> I tried to cd inside the repository and doing the same. Furthermore I
> found some hints to change rights (chmod 777) the repository. All of
> them didn't work. So I have no idea what do to. Could you give me a
> hint or tell me if you need more information?

You should take a read through the free book available at 
http://svnbook.org.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org