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

Feature request: changed svn_ra_get_file(), new svn_delta_action missing_bytes

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2006-03-13 07:44:38 CET

Hello everybody,

I'd like to ask for another feature.
I'd need a function like svn_ra_get_file(), but which gets a list of (start,
length) range tuples, and returns only these bytes.
Depending on how these ranges are returned (callback would be ok, delta stream
too) a new svn_delta_action missing_bytes or similar might be necessary.

The need arises from fsvs. There I have no text-base, but I'd like to get
delta operations. So I do manber-hashing with some (big) blocksize (about
128kB), and remember the MD5 and manber-hash of the original blocks.
Now if the file changes locally, I'd do the manber-hashing again, know which
blocks have changed, and only submit them.

On update I'd query a property of the repository file, know which blocks I
already have locally, and only request the others.

We might use svn_txdelta_source for the "old" data, but that's not really the
meaning, if we just query for

Summarizing, this would allow for rsync-like operations against files in the
repository.

May I create an issue?

Thank you.

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 13 09:14:09 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.