You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Brennan <ps...@pittstate.edu> on 2010/02/04 16:01:45 UTC

High level delta API?

Hi, 

I need a very high level interface for working with text deltas.
Source, target and deltas will be fairly small (1-100k) in-memory 
binary strings.  Would be used for producing deltas of changes to
individual database records.  All I need is two functions:

        source + target -> delta
        source + delta  -> target

Any way to use the Subversion API to achieve this without 
investing a huge amount of time in the guts of the code understanding 
Subversion- (and Apache)-specific datatypes, streams, pools, windows, 
etc?  I know there's some great stuff buried there, but how to access 
it easily?  I'm hoping for a wise and gentle guide to show the way.

If using Subversion is the wrong approach, can you recommend something 
better?  Thanks much.

-Mike

RE: High level delta API?

Posted by Bob Archer <Bo...@amsi.com>.
> I need a very high level interface for working with text deltas.
> Source, target and deltas will be fairly small (1-100k) in-memory
> binary strings.  Would be used for producing deltas of changes to
> individual database records.  All I need is two functions:
> 
>         source + target -> delta
>         source + delta  -> target
> 
> If using Subversion is the wrong approach, can you recommend something
> better?  Thanks much.

Can't you just use the OS diff command?

BOb