On 1/27/15 9:24 AM, Lathan Bidwell wrote:
> In the Perl SWIG bindings:
> 
> $ctx->url_from_path
> 
> I believe calls the svn_uri_canonicalize in 1.8.8, but I believe that its a
> secondary effect (in 1.6, it doesn't cleanse the url)

$ctx->url_from_path is calling svn_client_url_from_path():
http://subversion.apache.org/docs/api/1.8/group__clnt__sessions.html#ga32b1f7f851452ec8ecc8c2d899de2b0e

svn_client is dropped since $ctx is the client library "object".

The purpose of that function is to provide a entry URL for a node in the
repository.  You can abuse it to do canonicalizations (because it was poorly
designed) but that's not the purpose of the API.  So you should use
SVN::Core::uri_canonicalize().


Reply via email to