On Sun, Mar 31, 2013 at 5:58 AM, Daniel Shahaf <danie...@elego.de> wrote:
> How about forbidding PATH to be a repos-relative URL, but permitting it
> to be a relpath, that is then interpreted relative to the repos root.
> The conversion is trivial, just +2 on the argument, but it avoids
> "non-canonical" and "^/ URLs" in the repos API.

This could work because we don't accept a relative path for the OS
file system paths.  The funny thing about this is then I don't think I
need the repos-relative APIs that I made public.

> (I would say permit it to be an fspath, which is by definition absolute,
> but fspaths aren't part of the public API.)

Not a good idean, on unix platforms the fspath would be
indistinguishable from an absolute OS file system path.

Reply via email to