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

Re: XML-outputting editor questions

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2000-09-30 16:32:39 CEST

>> * The envisioned interface svn_txdelta_to_vcdiff() doesn't
>> jive with the edit_fns model, which wants to use a push
>> model. Maybe Branko has already addressed this in his
>> work.

> Greg, maybe this document will help. I believe it's under
> subversion/notes/, and I typed it for my own sanity:

I've read it.

> (If you want raw vcdiff data for embedding in XML or HTTP
> transactions -- PULL interface:)

> vcdiff_read_fn = svn_txdelta_to_vcdiff (txdelta_stream);

If you are an editor which outputs XML, you don't have a
txdelta_stream. You have a series of windows given to you by the
producer. Presumably the producer had a txdelta_stream at some point
(although even that is unclear; if I'm an SVN proxy of some sort, the
producer may not have generated the delta itself, and therefore might
not have every had its hands on a txdelta_stream), but the edit_fns
interface doesn't allow it to pass the stream to the consumer in one
piece.
Received on Sat Oct 21 14:36:09 2006

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