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

Re: repository access question (bad URL error)

From: Peter Allin <peter_at_arbejdskamp.dk>
Date: 2002-12-30 10:12:13 CET

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
Received on Mon Dec 30 10:19:00 2002

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