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

Re: svn commit: r25992 - trunk/notes

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2007-08-08 21:31:49 CEST

On 8/8/07, C. Michael Pilato <cmpilato@collab.net> wrote:

> If I am able to transmit copy + mod to the server as part of a commit, why
> shouldn't my peer get copy + mod from the server when she updates?
> If I send copy + mod in one commit, and then commit mods three more times,
> why shouldn't my peer get copy + (combined mods) when she updates?
> Maybe I don't understand the apparently quite narrow use-case you're aiming
> to hit.

No, you're right about the server sending an add_file(copyfrom) +
extra txdeltas. It's definitely possible.

Before the update-editor-driver transmits an add_file(), it would call
svn_fs_closest_copy() to find a copy source. If one is available, it
then transmits add_file(copyfrom=...), then some extra 'combined'
txdeltas (via svn_fs_get_file_delta_stream()). If no closest_copy is
available, then it sends a normal add_file() and a txdelta containing
the whole file.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 8 21:30:00 2007

This is an archived mail posted to the Subversion Dev mailing list.