RE: Canonicalizing relative URLs
From: Bert Huijben <bert_at_qqmail.nl>
Date: Wed, 12 Jan 2011 00:21:39 +0100
> -----Original Message-----
Wait!
The current intention is only to use svn_uri_*() for URLs. Relative paths should use svn_relpath_*().
The remaining issue was that we still had the "/some/path" style paths, that aren't dirents, aren't relpaths and aren't urls. Julian fixed this with the svn_fspath__*() apis.
This allows completing the conversion from svn_path_* by making svn_uri_ only usable for url paths.
Once this is handled we can fix the _join() and _basename() functions for all path formats to only accept relpaths. (For svn_uri this can then handle the uri escape/unescape that had to be handled by callers before)
Bert
|
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.