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'

Reply via email to