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

Re: Committing modifications with fulltext deltas

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-02-16 20:47:41 CET

On Wed, 2005-02-16 at 04:32, Daniel Patterson wrote:
> I've been looking at what it'd take to implement this, and I think
> it's reasonably doable. If my understanding is progressing right,
> I should be able to create a commit editor and perform a bunch
> of add_file, add_directory and (open_file, apply_textdelta, close_file)
> operations, then commit.

I'm not sure how you'd know when to do add_file and when to do
open_file. You could grab a recursive directory listing first, but I'm
not certain how you could ensure that the directory listing is of the
same rev you're committing against.

> I can see how an add_file would work just fine without a text-base to
> create a delta stream with, but I'm not sure of the implication
> of not having a text-base available to calculate a delta for modifications.

If the delta is computed against the empty stream, it should work
regardless of what the server applies it to.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 16 20:52:48 2005

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.