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

Re: libsvn_diff functions inputs

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-31 23:59:17 CEST

On Mar 31, 2005, at 1:36 PM, Abraham Nelson wrote:

> --- Ben Collins-Sussman <sussman@collab.net> wrote:
>> Take a look at the full svn_diff.h API. My memory
>> tells me that its
>> algorithms can operate on any sort of tokens at all,
>> not just 'line'
>> tokens. svn_diff_file_diff3() is just a
>> convenience function that
>> happens to use line tokens, and happens to read the
>> lines from files.
>> There should be lower-level APIs in there for you to
>> use.
> Unfortunately the API header doesn't provide much info
> on _how_ to use that API; I was only able to setup a
> standalone sample after much trial and error from
> studying the test files.

I'm not sure how the API docstrings could be any clearer...?

If you're one of those people who can only learn by studying examples,
then you're out of luck. I don't believe there are any out there.

All you need to do is define your own diff_fns_t vtable, and then call

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 1 00:03:09 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.