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

Re: Error with quick-start experiment

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 28 May 2015 11:38:17 +0200

On Thu, May 28, 2015 at 12:19:17PM +0300, Antti Simola wrote:
> This is what I typed in my last attempt. I've made several attempts after
> the one that worked earlier.
>
> C:\>set REPOS_DIR=h:\repos\my-repos
>
> C:\>mkdir h:\repos
>
> C:\>svnadmin create %REPOS_DIR%
>
> C:\>svn mkdir -m "Create directory structure." "file:///%REPOS_DIR%/trunk"
> "file:///%REPOS_DIR%/branches" "file:///%REPOS_DIR%/tags"
> svn: E235000: In file '..\..\..\subversion\libsvn_subr\dirent_uri.c' line
> 2307: assertion failed (svn_uri_is_canonical(url, pool))
>
> C:\>

This error message should be improved. svn should not assert here
but simply tell you that the URL is invalid.

The quick-start page is wrong.
You'll need to replace backslashes with forward slashes in the URL:
file:///h:/repos/my-repos/trunk etc.

I'm not seeing an assertion on BSD so perhaps the assertion problem
is specific to Windows. On BSD I see:
svn: E180001: Unable to connect to a repository at URL 'file:///h:%5Crepos%5Cmy-repos'
svn: E180001: Unable to open an ra_local session to URL
svn: E180001: Unable to open repository 'file:///h:%5Crepos%5Cmy-repos'
Received on 2015-05-28 11:39:11 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.