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

Re: ra_serf violating editor API restrictions

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-08-10 18:33:40 CEST

On 8/10/07, Justin Erenkrantz <justin@erenkrantz.com> wrote:
> On 8/10/07, Justin Erenkrantz <justin@erenkrantz.com> wrote:
> > As such, I don't think you can call apply_textdelta *after* calling
> > close_file - in fact, libsvn_wc (close_file in update_editor.c) would
> > indeed break in this case - as it does the MD5 checksum there and if
> > the file isn't updated yet, a checksum mismatch is thrown. So, no,
> > I'm fairly sure that close_file() can only be called after the
> > textdelta is complete - hence the earlier parallelization suggestion
> > wouldn't work in practice (but perhaps in theory!).
> Ergh. My bad. I see C-Mike said to run 'close_file' after
> 'apply_textdelta' - but the doc doesn't say that is permitted - but
> I'm guessing that's an oversight in the doc.
> Still, the presence of properties would stall the pipeline. -- justin

A possibility here would be to change the server to provide a report
flavor that includes properties but not textdeltas. Unfortunately,
this would still require a bottlenecked implemented for use against
older servers.


David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 10 18:31:44 2007

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