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

Ev2 and text deltas

From: Hyrum K Wright <hyrum.wright_at_wandisco.com>
Date: Thu, 1 Sep 2011 13:49:18 -0500

Quick question: is there a method via Ev2 to set text deltas? I see
svn_editor_set_text(), but that appears to just apply full texts to
the target (via the given stream), rather than text deltas. This
seems odd. Why wouldn't we use text deltas instead of a simple
stream?

Also, after reading the docs in svn_editor.h, it feels like all text
contents are sent in 'postfix' mode. In other words, in Ev1, we have
the following sequence of calls:
 open_file()
 close_file()
 ...
 apply_textdelta()

Whereas in Ev2 we have:
 add_file()
 ...
 set_text()

Just trying a bit harder to grok Ev2,
-Hyrum

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com/
Received on 2011-09-01 20:49:50 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.