[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: Clifford Yapp <cliffyapp_at_gmail.com>
Date: Thu, 31 Mar 2011 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.

Cheers, and thanks again.

CY
Received on 2011-03-31 19:53:03 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.