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

Re: need inputs on issue#443

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-08-19 13:28:36 CEST

On Fri, 19 Aug 2005, Madan U Sreenivasan wrote:

> On Fri, 2005-08-19 at 16:37, Peter N. Lundblad wrote:
> > On Fri, 19 Aug 2005, Madan U Sreenivasan wrote:
> >
> > > On Thu, 2005-08-18 at 14:26, Peter N. Lundblad wrote:
> > > > On Wed, 17 Aug 2005, Madan U Sreenivasan wrote:
> > > [snip]
> > > > I propose moving svn_client_commit_info2_t to svn_types.h and calling it
> > > > svn_commit_info_t (you don't need to rev any APIs since that's new). Then
> > > > rev svn_commit_callback_t to take a const svn_commit_info_t * (and a
> > > > baton, and why not a scratch pool while we are here (see issue #1881)). I
> > > good idea overall. Thx.
> > > I dont know the scratch pool funda. Do you mean that the callback should
> > > take a pool as a parameter?
> >
> > Yes, for temporary allocations only. Mostly for consistency in this case.
> One more question... do I retain svn_client_commit_callback_info2_t for
> the libsvn_client, or use svn_commit_info_t?
>
Just drop svn_client_commit_info2_t.

> If I have to use svn_commit_info_t everywhere, where does the
> constructor go?
>

I think it belongs in svn_types.h as well. We already have functions there
and a constructor "belongs" to the type in some sense.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 19 13:29:45 2005

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.