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

Re: tracking path ancestery

From: <cmpilato_at_collab.net>
Date: 2003-02-20 21:00:22 CET

ender <ender@objectrealms.net> writes:

> i want to produce a line by line annotation/blame showing revision
> number and author for changes of a non-binary file node's
> contents. perhaps a picture is more clear.
>
> http://objectrealms.net/projects/svn_browser/pics/Annotation.png

Wow. Sure looks pretty.

> to do that i need to get a hold of node's path across all of its
> revisions_changed including copies to get ahold of its
> contents. currently doing that seems to be problematic, mainly due
> to expense of iterating through n*m upper bound of copy checks
> combinations of n, revision changes to the node, and m representing
> the number of hierarchical containers for the node (though in
> actuality the number is much less). i was hoping that there was
> another mechanism that svn provided for reconstructing a given
> node's path across revisions.

I am planning to make svn_fs_revisions_changed() go way, and replace
it with svn_fs_node_revisions() which will do the same thing that
revisions_changed() does, but will optionally return a path for each
revision in which the node changed.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 20 21:03:21 2003

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