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

Re: Getting delta content length

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

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 size is inefficient as
well, but I suppose I could do that if there's no other alternative.

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