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

Re: Public wc_db functions?

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 3 Jun 2009 15:41:03 -0400

At first blush, without looking into the specifics, I'd simply hide
the entries altogether. Move the code from client down into WC.

On Jun 2, 2009, at 17:01, "Hyrum K. Wright" <hyrum_wright_at_mail.utexas.edu
> wrote:

> Greg,
> As you can tell, I've started punching some of the wc_db API changes
> through to the public API. I'm wondering how we are going to handle
> entires, though. For instance, several places in libsvn_client, we
> grab an entry, and then use various fields from it. Internal to
> libsvn_wc, we'd replace that with a call to read_info(), but I do
> not want to expose that interface beyond libsvn_wc. Any suggestions
> on how to push this through to libsvn_client?
>
> [I've thought about introducing specific APIs (svn_wc_entry_url(),
> svn_wc_entry_kind(), etc.), but it seems that that way lies madness,
> as we get into an API proliferation trend that appears hard to stop.]
>
> -Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2359210
Received on 2009-06-03 21:41:35 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.