Den ons 19 apr. 2023 kl 11:44 skrev sebb <>:

> I've seen some crashes in SVN where the target does not have the expected
> type.

Both asserts also on a recent trunk build, so at least it isn't resolved

> For example:
> $ svn info
> svn: E235000: In file
> '/build/subversion-owKwd0/subversion-1.13.0/subversion/libsvn_client/util.c'
> line 96: assertion failed
> (svn_uri__is_ancestor(pathrev->repos_root_url, url))
> Aborted (core dumped)

The same assert has been reported previously ( although
with a different use case.

>From what I can see in GDB, Subversion seems to be able to open a WebDAV
session with It asks for the
DAV:version-controlled-configuration which seems to return Now, since is not a child of it triggers an assert.

Is it correct that responds to
WebDAV commands, and why does it reply with

I'm leaning towards an incorrect server configuration.

$ svn pl -v
> Properties on '':
>   svn:eol-style
>     native
> $ svn ps svn:mime-type text/plain
> svn: E235000: In file
> '/build/subversion-owKwd0/subversion-1.13.0/subversion/libsvn_subr/dirent_uri.c'
> line 1634: assertion failed (! svn_path_is_url(relative))
> Aborted (core dumped)

Setting a versioned property on a URL is not supported if I'm reading the
SVN Book correctly (
It is obviously wrong to hit an assertion, there should be an error message
instead if trying to operate on a URL. I did a very quick sketch and it
seems easy enough (a few lines of code in propset-cmd.c), but it is getting
too late to get it into style and run all testcases tonight.

Feel free to add this as an issue in JIRA.

For the record, if someone else sees this thread. svnmucc should be the
correct tool in this case, it will create a new revision adding the
versioned property to the URL target.

Kind regards,

Reply via email to