[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: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Mon, 13 Apr 2015 22:04:38 +0200

On Mon, Apr 13, 2015 at 7:33 PM, Branko Čibej <brane_at_wandisco.com> wrote:

> 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.
>

Oh, I didn't want to imply that you were driving the rename,
that's me. I simply wanted to mention you as the person who
came up with the term "prefix".

-- Stefan^2.
Received on 2015-04-13 22:06:13 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.