Re: 1.8 new public API review (mostly) complete.
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 1 Apr 2013 17:27:06 +0100 (BST)
Here's the current doc string of svn_repos_authz_read2():
/**
* Read authz configuration data from @a path (a file, repos relative
First we need to clarify what "@a path (a file,)" means. From the discussion below I gather "a file" means an absolute local filesystem path, so let's say so.
Ben Reser wrote:
Erm, not so trivial: svn_path_resolve_repos_relative_url() assumes the "repos-relative URL" is URI-encoded, whereas a relpath is by definition not URI-encoded.
>> "non-canonical" and "^/ URLs" in the repos API.
That could work, but it is *much* nicer in my opinion to get rid of the relative-URL option and get rid of the 'repos_root' argument (which was Ben's original suggestion IIUC). It's simple, cheap, and easy.
- Julian
>> (I would say permit it to be an fspath, which is by definition absolute,
|
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.