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

linevector for backwards blame

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-02-15 22:06:38 CET

This was described to me by someone who knows how cvs does backwards
annotating.
I'm not sure what CVS does to prevent memory explosion due to copying
the text, it must share the lines instead of malloc'ing them like i do
(or refcount them, but that could be expensive since you'd want to go
through the vector and free lines when you resized it)

Anyway, i tested this with something that just parses rcs diffs and
calls the linevector_add/delete calls in the right order, and the blame
came out right :)

All that should need to be done is what is described at the top of the
file, and we should be good to go.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Feb 15 22:08:12 2005

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