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

Re: some questions about the delta operation in SVN

From: Bo Chen <bo.irvine.chen_at_gmail.com>
Date: Wed, 6 Mar 2013 10:14:41 -0500

Clarify one point: The file_at_base (or the file @head) refers to the file I
am currently updating, right?

I am very curious why the server needs to re-compute the skip-delta. Is
there any rule to guide the server which pristine version to be delta-ed
against? To optimize the delta (specifically, to optimize the storage for
the delta)?

Thanks.

Bo

On Wed, Mar 6, 2013 at 7:05 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name>wrote:

> Branko Čibej wrote on Wed, Mar 06, 2013 at 06:41:40 +0100:
> > On 06.03.2013 06:21, Daniel Shahaf wrote:
> > > Bo Chen wrote on Tue, Mar 05, 2013 at 23:49:06 -0500:
> > >> Can anyone help me make clear the following questions? Thanks very
> much.
> > >>
> > >> I make some updates, and the SVN client generates the delta and sends
> it to
> > >> the SVN server. Does the server simply store this delta to the
> repository,
> > >> or do something more?
> > >>
> > > The latter. The client always generates a delta against file.c_at_HEAD,
> > > but the filesystem stores skip-deltas.
> >
> > That would be file_at_BASE, since that's what the client has a pristine
> > version of. :)
>
> It @BASE and @HEAD will be the same node-rev, else the commit will fail.
>
Received on 2013-03-06 16:15:15 CET

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.