You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lukasz Piwko <lu...@gmail.com> on 2007/03/09 17:22:05 UTC
import problem
Hello
I have a problem with windows svn binaries. I just started to play with it and
on very start i can go no further. It's about import command. I can't
successfully execute:
(note: d:/dev/svn has been created with svnadmin create properly)
svn import d:\temp\tosvn file://d:/dev/svn -m "bla bla"
the error message is:
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file://d:/dev/svn'
both directories have write and read rights. I also checked if ra_local scheme
is available on my build.
Anyone can help me start? :)
btw: i know this question was probably asked a lot of times! that's why i'll
appreciate any help, point me to a place where i can find an answer.
Thannks,
Lukasz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: import problem -- solved
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,
> Thank you, worked. I thought that that third slash was there because the
> Linux path was not relative but absolute, hence that slash on the
> beginning :)
The pattern of the access in Subversion is:
protocol://host/directory
If you like to access a directory on the local machine you can write it:
protocol://localhost/directory...
If you use http you would write e.g.:
http://localhost/directory
If you access via file protocol, which means in other words on the local
machine you can omit the "localhost"
file://localhost/directory
which results in:
file:///directory
That's the reason why you have to write three slashes instead of
two....and if you are on linux/unix the part "/directory" has to be an
absolute path as you can imagine...
Kind regards.
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung http://www.soebes.de
Dipl.Ing.(FH) Karl Heinz Marbaise email: info@soebes.de
Tel.: +49 (0) 2405 / 415 893 ICQ#: 135949029
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: import problem -- solved
Posted by Lukasz Piwko <lu...@gmail.com>.
Hi
>> You have to consider the three slashes instead of two ;-)
Thank you, worked. I thought that that third slash was there because the Linux
path was not relative but absolute, hence that slash on the beginning :)
> Possibly THE _most encountered_ baffling error by svn.
>
> It'd be nice to special case this somehow and hand
> the user another / to play with.
I would agree.
--
Lukasz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: import problem
Posted by Matthew Hannigan <ml...@zip.com.au>.
On Fri, Mar 09, 2007 at 07:25:29PM +0100, Karl Heinz Marbaise wrote:
> Hi,
> > (note: d:/dev/svn has been created with svnadmin create properly)
> >
> > svn import d:\temp\tosvn file://d:/dev/svn -m "bla bla"
> AFAIK you have to use
> svn import d:\temp\tosvn file:///d:/dev/svn -m"- bla".
>
> You have to consider the three slashes instead of two ;-)
Possibly THE _most encountered_ baffling error by svn.
It'd be nice to special case this somehow and hand
the user another / to play with.
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: import problem
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,
> (note: d:/dev/svn has been created with svnadmin create properly)
>
> svn import d:\temp\tosvn file://d:/dev/svn -m "bla bla"
AFAIK you have to use
svn import d:\temp\tosvn file:///d:/dev/svn -m"- bla".
You have to consider the three slashes instead of two ;-)
Kind regards.
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung http://www.soebes.de
Dipl.Ing.(FH) Karl Heinz Marbaise email: info@soebes.de
Tel.: +49 (0) 2405 / 415 893 ICQ#: 135949029
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org