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

Getting delta content length

From: Ramkumar Ramachandra <artagnon_at_gmail.com>
Date: Thu, 24 Jun 2010 15:38:33 +0200

Hi,

We're working on a project to replay revisions using the replay API
and dump a deltified dumpfile to stdout on-the-fly without using a
filesystem backing. Althought the md5sum seems to be available through
svn_txdelta_apply, the length of the delta doesn't seem to be. Without
this length, we cannot generate a valid dumpfile (since the parser
needs the content length information) - the current workaround is to
load the whole stream into memory and measure its length, but this is
highly inefficient. Is there any other way?

-- Ram
Received on 2010-06-24 15:39:33 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.