Re: Getting delta content length

2010-06-24 Thread Ramkumar Ramachandra
Hi, > IIRC, Subversion is calculating that delta on the fly, so it can't exactly > hand you up-front the length thereof.  Could you use a temporary file on > disk (and a stat() call for the filesize) instead of in-memory storage as > your go-between? I see. Writing to filesystem and measuring siz

Re: Getting delta content length

2010-06-24 Thread C. Michael Pilato
Ramkumar Ramachandra wrote: > 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

Getting delta content length

2010-06-24 Thread Ramkumar Ramachandra
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 c