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

Re: [RFC] deprecate svn_wc APIs that use svn_delta_editor_t

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 14 Feb 2012 08:35:28 +0000 (GMT)

Greg Stein wrote:
> We have Ev2 somewhere on the future horizon. [...]
> I'd like to go ahead and deprecate the
> appropriate interfaces in svn_wc. [...]
>
> I'd like to do the deprecation now, rather than later. There isn't any
> particular technical reason, but Julian phrased it best: engineering
> at a social level. Smoke out anybody that might be using these APIs,
> determine their actual needs, and move them to potentially-new
> svn_client APIs.

In particular, doing it this way signals our library users to get in touch about what they need from such APIs *before* we actually change the code.  Thus they get a chance to avoid hitting the performance regression and/or other limitations that we're quite likely to see when we eventually do reimplement the compatibility APIs in terms of the new ones.

> There are four svn_wc APIs that consume delta editors (diff, status,
> switch, update). Each of these would be deprecated and grow a
> corresponding new private API, and the singular caller in
> libsvn_client would switch.
>
> Any objections to this deprecation for the 1.8 release?

Sounds good to me.

- Julian
Received on 2012-02-14 12:54:55 CET

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.