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

Re: Attacking Issue 1093

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-10-28 15:59:52 CET

Shlomi Fish <shlomif@vipe.technion.ac.il> writes:

> Check:
> http://subversion.tigris.org/issues/show_bug.cgi?id=1093
> Namely, an svn diff fails if the old revision was copied or renamed from
> somewhere else. I tried to compare this with "svn log" which handles this
> problem nicely, and found out that it uses the
> svn_fs__dag_get_predecessor_id function, which is not part of the API.

It probably also uses DB->get() somewhere, but that doesn't mean we
expose that directly through our API. :-)

> Now, in order to use it with svn diff, I'll need to export it or maybe use
> the history mechanism of svn_fs. What should I do, as I'm not a big expert
> in these parts of the code.

The history mechanism is both more accurate and already available for
use in determining at which path a node's history lived in a certain
revision M, given its path in revision N (where N > M).

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 28 16:01:16 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.