> Realize, however, that CVS has these same problems, just on a lesser scale
> (because the granularity of it's diff is larger, and it's diff algorithm
> doesn't do self-similarity). If it decides that the best way to represent
> your change is to delete the first 3000 lines, and add 6000 lines to the
> front in it's place, annotate will show you as having changed those 6000
> lines, when you've only added 3000.
Bad example, of course, unless it's diff algorithm does something stupid
(since if you've only added 3000 lines, the other 3000 shouldn't be different), but
the point still stands: If it's diff algorithm doesn't produce perfect
results (which it doesn't), then the output of cvs annotate can't always
be correct, or even necessarily close to it at all.
CVS doesn't perform annotate based off anything but the diff ops (I
checked), so it's output is only as good as the diff ops it produced. If
they match reality, you get nice annotate results. If they are a bit
weird, your annotate output is a bit weird.
--Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 13 16:30:15 2002