On 11/18/2010 08:43 AM, Daniel Shahaf wrote: > Yes, that's what I meant, but I see that Philip already committed a fix. > > Question to FS people: > > Is the svn_fs_history_location(svn_fs_history_prev()) approach > equivalent to the svn_fs_copied_from() approach?
No. svn_fs_copied_from() will only return information about copies when you ask it of the actual copy target. svn_fs_history_prev() will traverse history thru copies for any subtree of the copy. For example, in our Greek tree, if r2 is a move of '/A' to '/Z', then: svn_fs_copied_from('/Z', r2) = '/A', r1 svn_fs_copied_from('/Z/B/E/alpha', r2) = NULL, SVN_INVALID_REVNUM but: svn_fs_history_prev('/Z', r2) = '/A', r1 svn_fs_history_prev('/Z/B/E/alpha', r2) = '/A/B/E/alpha', r1 -- C. Michael Pilato <cmpil...@collab.net> CollabNet <> www.collab.net <> Distributed Development On Demand
signature.asc
Description: OpenPGP digital signature