perl: /tmp/buildd/subversion-1.5.1dfsg1/subversion/libsvn_ra/ra_loader.c:997: svn_ra_check_path: Assertion `*path != '/'' failed.

Doh!

I’m getting this error in my Apache logs when trying to use the perl library SVN::Web.

This problem is caused by an update to the RA API, so I had to change code like this:

    $ra->get_log([$path], $rev, 1, 1, 0, 1,                 sub { @log_result = @_; });

to:

    $ra->get_log('trunk', $rev, 1, 1, 0, 1,                 sub { @log_result = @_; });

UPDATE: This appears to have been fixed as of January 2009.

UPDATE 2: No, it still happens.

UPDATE 3: I think I found a solution.