[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 6 Mar 2013 07:21:37 +0200

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.

> Sometimes I find the SVN client does not delta the updated version with the
> latest version in the client. Is there any rule under which the client
> decides which pristine version to be delta-ed against, or the client just
> randomly chooses a pristine version to delta against?
>

I don't understand what your issue is. Are you able to describe it in
user-visible or API-consumer-visible terms? The choice of delta base
(in both client and server) is entirely an implementation detail.

> Bo
Received on 2013-03-06 06:22:36 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.