[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: ender <ender_at_objectrealms.net>
Date: 2003-02-20 20:17:32 CET

On Thursday 20 February 2003 11:00 am, ender wrote:
> i'm trying to write a cross-copy annotation of a file, using the python
> bindings. i've dug around in the source, and docs, and don't see a good
> way to do it without an exhaustive search. is there a better solution, any
> tips appreciated.

ugh.. i should go to sleep.. 'it' above meaning reconstructing a node's path
ancestery.

so given a file at /A/B/C.txt
B is copied over to /D in one txn
and C.txt is edited in another txn.

C.txt hasn't been copied but using its current path to get contents for
annotation with its changed revisions won't work as its been moved. does svn
provide any facilities for reconstructing path ancestery? as it is the only
solution i can find is an exhaustive search through a node's revisions
changed set, checking fs_copied_from till the node no longer exists and then
going up to its container or exhausting the rev change set.

-e

---------------------------------------------------------------------
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:06:15 2003

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.