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

Re: minimalist example of svn_txdelta_run?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 1 Apr 2011 14:14:41 +0300

Clifford Yapp wrote on Thu, Mar 31, 2011 at 13:52:32 -0400:
> On Thu, Mar 31, 2011 at 1:45 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
>
> > The first thing to say is that you aren't checking the error return
> > values.  Try compiling with -DSVN_DEBUG --- that will cause an abort()
> > if you missed an error return.
>
> I know - this is in the "quick and dirty" category, so I'll have to go
> back later and deal with that.
>
> > That's all that jumps out at me right now :(.   If I had to learn this API
> > I'd do so by writing a dummy C test --- eg in subversion/tests/libsvn_{fs,delta}/ ---
> > which is also where you might be able to find a 'minimal example'.
>
> Ah, thanks! I hadn't thought of the tests dir - I'm building a subset
> of subversion with CMake, so I missed those.
>
> I managed to get the changed I need into the files with a full on copy
> of the contents, which is somewhat suboptimal but workable for small
> files.
>

Fair enough. Feel free to post again later if you'll need pointers on
generating/applying non-self-compressed svndiff deltas, though.

> Cheers, and thanks again.
>
> CY
Received on 2011-04-01 13:15:23 CEST

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.