You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mason Thomas <ml...@sbcglobal.net> on 2002/12/30 08:53:35 UTC

repository access question (bad URL error)

Hi,

I am trying to create a new repository with a new build (r4208) and am 
receiving a "bad URL passed to RA layer" error. Specifically:

$ pwd
/home/mason
$ svnadmin create /home/mason/repo
$ ls repo
README  conf  dav  db  format  hooks  locks
$ svn mkdir file://home/mason/repo/trunk -m 'add trunk'
subversion/libsvn_ra_local/ra_plugin.c:230: (apr_err=170000)
svn: Bad URL passed to RA layer
svn: Unable to open an ra_local session to URL
subversion/libsvn_ra_local/split_url.c:64: (apr_err=170000)
svn: svn_ra_local__split_URL: URL contains unsupported hostname
   (file://home/mason/repo)
$

What am I doing wrong?

-Mason




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

Re: repository access question (bad URL error)

Posted by Mason Thomas <ml...@sbcglobal.net>.
Thank you.

-Mason


Peter Allin wrote:

>Hi,
>
>I think you need to add another slash after "file://" to point at the
>root of your filesystem. 
>
>At least this is what I get:
>
>% cd temp 
>% svnadmin create /home/pal/temp/repo
>% svn mkdir file://home/pal/temp/repo/trunk -m 'add trunk'
>svn: Bad URL passed to RA layer
>svn: Unable to open an ra_local session to URL
>svn: svn_ra_local__split_URL: URL contains unsupported hostname
>   (file://home/pal/temp/repo)
>% svn mkdir file:///home/pal/temp/repo/trunk -m 'add trunk'
>
>Committed revision 1.
>
>/Peter Allin
>
>
>On Mon, 2002-12-30 at 09:53, Mason Thomas wrote:
>  
>
>>Hi,
>>
>>I am trying to create a new repository with a new build (r4208) and am 
>>receiving a "bad URL passed to RA layer" error. Specifically:
>>
>>$ pwd
>>/home/mason
>>$ svnadmin create /home/mason/repo
>>$ ls repo
>>README  conf  dav  db  format  hooks  locks
>>$ svn mkdir file://home/mason/repo/trunk -m 'add trunk'
>>subversion/libsvn_ra_local/ra_plugin.c:230: (apr_err=170000)
>>svn: Bad URL passed to RA layer
>>svn: Unable to open an ra_local session to URL
>>subversion/libsvn_ra_local/split_url.c:64: (apr_err=170000)
>>svn: svn_ra_local__split_URL: URL contains unsupported hostname
>>   (file://home/mason/repo)
>>$
>>
>>What am I doing wrong?
>>
>>-Mason
>>
>>    
>>



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

Re: repository access question (bad URL error)

Posted by Peter Allin <pe...@arbejdskamp.dk>.
Hi,

I think you need to add another slash after "file://" to point at the
root of your filesystem. 

At least this is what I get:

% cd temp 
% svnadmin create /home/pal/temp/repo
% svn mkdir file://home/pal/temp/repo/trunk -m 'add trunk'
svn: Bad URL passed to RA layer
svn: Unable to open an ra_local session to URL
svn: svn_ra_local__split_URL: URL contains unsupported hostname
   (file://home/pal/temp/repo)
% svn mkdir file:///home/pal/temp/repo/trunk -m 'add trunk'

Committed revision 1.

/Peter Allin


On Mon, 2002-12-30 at 09:53, Mason Thomas wrote:
> Hi,
> 
> I am trying to create a new repository with a new build (r4208) and am 
> receiving a "bad URL passed to RA layer" error. Specifically:
> 
> $ pwd
> /home/mason
> $ svnadmin create /home/mason/repo
> $ ls repo
> README  conf  dav  db  format  hooks  locks
> $ svn mkdir file://home/mason/repo/trunk -m 'add trunk'
> subversion/libsvn_ra_local/ra_plugin.c:230: (apr_err=170000)
> svn: Bad URL passed to RA layer
> svn: Unable to open an ra_local session to URL
> subversion/libsvn_ra_local/split_url.c:64: (apr_err=170000)
> svn: svn_ra_local__split_URL: URL contains unsupported hostname
>    (file://home/mason/repo)
> $
> 
> What am I doing wrong?
> 
> -Mason
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 



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