Julian Foad <julianf...@btopenworld.com> writes:

> Philip Martin wrote:
>> The more significant fail
>> is:
>> 
>> $ ./fs-test --server-minor-version=4 34
>> lt-fs-test: ../src/subversion/libsvn_subr/dirent_uri.c:1456: 
>> svn_relpath_skip_ancestor: Assertion `relpath_is_canonical(parent_relpath)' 
>> failed.
>
> OK, I'll investigate that.

gdb shows:

Program received signal SIGABRT, Aborted.
(gdb) up 4
#4  0x00007ffff66e650e in prev_location (prev_path=0x7fffffffe2c8, 
    prev_rev=0x7fffffffe2d0, fs=0x7ffff7fef620, root=0x7ffff3f405e0, 
    path=0x7ffff3f38728 "/A/D", pool=0x7ffff3f39028)
    at ../src/subversion/libsvn_fs_fs/tree.c:3246
3246      remainder_path = svn_relpath_skip_ancestor(copy_path, path);
(gdb) p copy_path
$3 = 0x7ffff7e1068e "/A/D"
(gdb) p path
$4 = 0x7ffff3f38728 "/A/D"

We are passing fspaths to a relpath function.  The test passes in 1.7
because svn_relpath_skip_ancestor doesn't assert that the paths are
relpaths and works if passed fspaths.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download

Reply via email to