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

Re: Feature request: new svn_delta_action zero_bytes

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2006-03-02 18:51:29 CET

On Thu, 2006-03-02 at 12:23 +0100, philipp.marek@bmlv.gv.at wrote:
> I know that GNU tar and cp have special code for finding ranges of 0-bytes, but
> that's I'd like to encode that distinctly - it's a good documentation, and
> makes handling easier.

But it makes transition much harder. Older code wouldn't be able to
understand the new encoding of 0-byte ranges.

Just create a writable stream, similar to svn_stream_from_aprfile, which
detects runs of 0 bytes and lseeks instead of writing them.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 2 18:53:06 2006

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.