Re: minimalist example of svn_txdelta_run?

2011-03-31 Thread Clifford Yapp
On Thu, Mar 31, 2011 at 1:45 PM, Daniel Shahaf 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 t

Re: minimalist example of svn_txdelta_run?

2011-03-31 Thread Clifford Yapp
On Thu, Mar 31, 2011 at 12:02 AM, Daniel Shahaf wrote: > Typically to update a file in the repository using the svn_delta API > you'd already know the current contents of that file.  Is that the case > for you? > > What are you trying to do?  Can you give an example with sample data? Well, what

minimalist example of svn_txdelta_run?

2011-03-30 Thread Clifford Yapp
Hi - I'm trying to create a minimal-case example creating a delta between two strings and applying that delta to a svn repository in C. I'm able to add and delete files and add content to an empty file, but so far I haven't been able to take the contents of a file, diff them with a string, and use

Re: Non-file based checkout?

2011-03-25 Thread Clifford Yapp
Are those (svn_repos/svn_ra) the API levels that allow safe read/write access from multiple clients to the repository? I did manage to get a basic svn_fs test working (very cool!), but it did look like that might be too low-level for safety. Cheers, CY On Fri, Mar 25, 2011 at 2:48 PM, Daniel Sha

Re: Non-file based checkout?

2011-03-24 Thread Clifford Yapp
On Thu, Mar 24, 2011 at 12:10 PM, Stefan Sperling wrote: > The LGPLv2 and APLv2 are compatible. > Just list both licences in your copyright notices, and you can > redistribute the derived work containing both Subversion's code > and your own LGPLv2 code. Files from Subversion which you modify > m

Re: Non-file based checkout?

2011-03-24 Thread Clifford Yapp
Thanks everyone for the responses! On Thu, Mar 24, 2011 at 7:38 AM, Stefan Sperling wrote: > > Another approach would be going beneath the client API (Subversion is > a stack of layers, with a public API at each layer -- so you're not > confined to the client API). > Take a look at the repository

Non-file based checkout?

2011-03-24 Thread Clifford Yapp
Hi! I'm looking at using the subversion libraries to handle data, and I would like to integrate them into an application for revisioning/managing computer aided design geometry information. Looking over the client API, it seems to assume that a checkout will result in a file in a filesystem path