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

AW: status information

From: Becker, Thomas <Thomas.Becker_at_torex.com>
Date: Fri, 18 Jun 2010 08:25:24 +0100

Greg,

I'm an outsider to the Subversion development community so you may be surprised by me jumping into this discussion. But as you were shouting to the public you should expect this.

I'm shocked about the tone of your post and I don't see how calling someone "whining" can help resolve technical misunderstandings.

Sorry for staining this thread with my emotional rant but there are two issues you should be aware of:

- all posts to dev_at_subversion are readable by the interested public and affect the reputation of the Subversion developer community as it is recognized by outsiders,

- it takes quite some (emotional) effort for the attacked person to recover and come back to the professional level, effort that you drew away from work on the subject.

Thomas

--
Thomas Becker
Software Development, Torex
T: +49 (0)30 49901-0 E: thomas.becker_at_torex.com
Torex Retail Solutions GmbH, Salzufer 8, D-10587 Berlin
T: +49 (0)30 49901-0  F: +49 (0)30 49901-139  www.torex.de
> -----Ursprüngliche Nachricht-----
> Von: Greg Stein [mailto:gstein_at_gmail.com]
> Gesendet: Freitag, 18. Juni 2010 06:47
> An: Stefan Küng
> Cc: dev_at_subversion.apache.org
> Betreff: Re: status information
> 
> On Thu, Jun 17, 2010 at 16:48, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> > On 17.06.2010 22:35, Bert Huijben wrote:
> >>> Sure, I said before I can get any information myself, but only with
> >>> a severe performance hit. Because every time I call an svn_client_*
> >>> API, it walks the whole tree again, opens the files again, opens
> >>> the db again and again, ...
> >>
> >> svn_client doesn't open the db again. (The handle is cached in the
> >> svn_client_ctx_t's wc_ctx field) and if you set a proper depth value
> >> on your call it doesn't traverse any other nodes then the one you
> >> specify.
> >
> > But I need that information for all entries in the tree. So I have to
> > traverse the whole tree again.
> > Tree walks are expensive.
> 
> That is totally ridiculous. No. You do NOT have to walk the tree again.
> 
> The idea is: the status callback is invoked with the *limited* status
> information. If you want more, then from *within* that callback, make
> a function call back into the API to get the information you need.
> 
> Look at that! No additional tree walks!
> 
> > I don't have a problem calling another API to get additional info where
> i
> > need it only for one or just a few items. But most of the time, I need
> that
> > information for the whole tree.
> 
> Great. And if you were *listening*, Bert has said we'll do that at the
> client level. And even if we don't, then *you* can have a simple
> callback handler that grabs the extra information.
> 
> This is not rocket science.
> 
> And as Mike pointed out: we'd not going to screw you over. So stop
> your whining, make the extra calls in your callback, and let's move
> on. Offer some suggestions for improvements, rather than "wah wah, I
> don't like it".
> 
> Simple fact is: we're going for *fast*. If you want something less
> fast, then you can do that on your own side of the callbacks. All the
> information is there, and a call into the APIs is no more expensive
> than what our old code used to do. When it gets down to it, the SAME
> function is used to do the "is modified?" check. So what the hell are
> you complaining about, if you have to make the call instead of the svn
> library? Not to mention, Bert saying that libsvn_client will do all
> that for you, anyways, in a consistent fashion.
> 
> Stop the noise. Move along.
> 
> -g
Received on 2010-06-18 09:26:06 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.