subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <>
Subject Re: Root-relative svn:externals result in error exporting a specific revision
Date Sun, 16 Jul 2017 14:22:03 GMT
Doug Brown wrote on Wed, 12 Jul 2017 17:34 -0700:
> svn: subversion/libsvn_subr/dirent_uri.c:324: canonicalize: Assertion
> `*src != '/'' failed.
> Aborted (core dumped)

Thanks for the great bug report.

I think I see the root cause: that the value of export_directory()'s parameter
FROM_PATH_OR_URL is a path, but that parameter is passed directly to the
FROM_URL parameter of svn_client__export_externals().  It then
fails because a local path is not a valid URL.

Relevant portion of backtrace:

    frame #7: 0x00007ffff7b6fda1`svn_client__export_externals(externals=0x00007ffff1d6d5d0,
from_url="/tmp/tmp.Igmr4a0O6p/wc", to_abspath="/tmp/tmp.Igmr4a0O6p/testexport3", repos_root_url="file:///tmp/tmp.Igmr4a0O6p/testrepo",
requested_depth=svn_depth_infinity, native_eol=0x0000000000000000, ignore_keywords=0, ctx=0x00007ffff7dfd570,
scratch_pool=0x00007ffff7dfc028) + 817 at externals.c:1241
    frame #8: 0x00007ffff7b6cbf4`export_directory(from_path_or_url="/tmp/tmp.Igmr4a0O6p/wc",
to_path="testexport3", eb=0x00007ffff1d6c438, loc=0x00007ffff1d6d4b8, ra_session=0x00007ffff1cff220,
overwrite=0, ignore_externals=0, ignore_keywords=0, depth=svn_depth_infinity, native_eol=0x0000000000000000,
ctx=0x00007ffff7dfd570, scratch_pool=0x00007ffff7dfc028) + 948 at export.c:1357



View raw message