[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: perl API: Assertion failed: (svn_dirent_is_canonical(dirent, pool)), function svn_dirent_dirname, file subversion/libsvn_subr/dirent_uri.c, line 1200

From: Anton Yuzhaninov <citrin+svn_at_citrin.ru>
Date: Tue, 04 Feb 2014 15:48:56 +0400

On 01/31/14 21:07, Ben Reser wrote:
> In the meantime you can do the following to do the canonicalization:
> if (SVN::Core::path_is_url($file)) {
> $file = SVN::Core::uri_canonicalize($file);
> } else {
> $file = SVN::Core::dirent_canonicalize($file);
> }

Thanks. IMHO this sample should be added to SVN::Client documentation. It is not
obvious moment.
Received on 2014-02-04 12:49:30 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.