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

Re: [PATCH] expose svn_repos_replay via the RA API, Take 2

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-11-17 07:49:05 CET

On Wed, 2005-11-16 at 17:02 -0800, Jim Blandy wrote:
> We must be disconnected. How can it possibly not be well-defined to
> compose deltas?

Because our deltas aren't expressed wholly in terms of the previously
existing contents of the tree. If we have:

  r1: add foo (no history)
  r2: delete foo
  r3: add foo (copy history foo@1)
  r4: add bar (copy history foo@1)

Then what is the composition of r1-r4?

I believe most modern SCMs, particularly ones that have to deal with
distributed operation, restrict deltas to referring to the previously
existing contents of the tree. That means you can't express the
resurrection of a file, but it makes composition well-defined. Although
I believe they also tend not to do delta composition so much, and just
transmit whole batches of deltas around.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 17 07:50:10 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.