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

Re: 1.8 new public API review (mostly) complete.

From: Ben Reser <ben_at_reser.org>
Date: Mon, 1 Apr 2013 08:50:39 -0700

On Sun, Mar 31, 2013 at 5:58 AM, Daniel Shahaf <danielsh_at_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.
Received on 2013-04-01 17:51:17 CEST

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