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

Re: Remaining suggested API changes for 1.9

From: Branko Čibej <brane_at_wandisco.com>
Date: Mon, 13 Apr 2015 12:33:20 -0500

On 13.04.2015 12:23, Stefan Fuhrmann wrote:
> On Fri, Apr 10, 2015 at 1:16 AM, Stefan Fuhrmann
> <stefan.fuhrmann_at_wandisco.com <mailto:stefan.fuhrmann_at_wandisco.com>>
> wrote:
>
>
> * svn_relpath_limit
> This is a useful API and it is simple enough that support
> in future releases should not be a problem. So, keep it
> in the public API. However, it should be renamed to
> svn_relpath_first_n_components because the current
> name suggests something like e.g. a size limit.
>
>
> I discussed this with Brane and he suggested
> svn_relpath_prefix as the new name. This is
> what Python is using and I'll go with that.

What I meant is that Python uses the term "prefix" for a contiguous
subset of path components starting at the root (see:
os.path.commonprefix). My only interest is that we don't try to invent a
completely new name for this concept.

-- Brane
Received on 2015-04-13 19:33:48 CEST

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.