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

RFC: RA API changes

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-01-10 00:06:55 CET

Hi,

ON trunk, we have deprecated one svn_ra_plugin_t member (get_log). On the
locking branch, we have one more deprecated (get_commit_editor). And ...
guess what, In my current WC, we depreate four more members, the ones
taking an svn_ra_reporter_t.

Currently, we don't deprecate the whole struct, since we can just add new
members to the end. This is because we don't support loading external RA
modules (yet).

A problem is that each RA module needs its own compatibility wrapper for
each function. They are trivial, but it is a lot of cut-n-paste:-( And it
is also messy.

So, if no one objects, I'd like to deprecate the whole svn_ra_plugin_t and
provide a new fresh struct. Also, I'd like to resolve a part of issue
#1931, by converting the API to a FS-like interface, so we don't expose
the vtable to the user anymore. This will keep the wrappers inside
libsvn_ra and make future deprecations easier.

I don't think this is controversial, but it involves changing code in many
places in the client, so I ask first:-)

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 10 00:08:00 2005

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