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

delta metric

From: Ben Collins-Sussman <sussman_at_newton.ch.collab.net>
Date: 2001-03-05 20:01:56 CET

A comment from svn_fs.h:

> Since revision numbers increase by one each time a delta is added,
> we can compute how many deltas separate two related node revisions
> simply by comparing their ID's. For example, the distance between
> and 100.12 is the distance from to their
> common ancestor, 100.10 (two deltas), plus the distance from 100.10
> to 100.12 (two deltas).

This metric really isn't true anymore is it? I mean we can't really
say (in the example above) that the two node revisions are 4 deltas
apart, because we can have "holes" in our nodes table, right?

Not that this matters, I guess. Measuring revision similarities in
"deltas" is meaningless anyway, since a single delta could be a 1 byte
diff or a 100MB diff. :)
Received on Sat Oct 21 14:36:25 2006

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