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

Re: Non-file based checkout?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 25 Mar 2011 20:48:29 +0200

You probably want to use the svn_repos or svn_ra API, not the FS API directly.

That said: see svn_test__set_file_contents(), used by fs-test.c .

Clifford Yapp wrote on Thu, Mar 24, 2011 at 13:02:03 -0400:
> On Thu, Mar 24, 2011 at 12:10 PM, Stefan Sperling <stsp_at_elego.de> 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
> > must keep the APLv2 licence -- you cannot simply remove a licence,
> > nor change it. But you can clearly mark your own changes and licence
> > them under the LGPLv2 if you think that's worth it. (Note that this would
> > prevent your changes from being merged into Subversion itself.)
>
> OK, sounds good - thanks!
>
> On a more technical note - I'm looking at svn_fs_apply_text as a way
> to take binary data and stuff it into a file in the repository created
> with svn_fs_make_file - is this the correct approach? I basically
> have a small chunk of binary data I want to stuff into the file and
> commit, but it looks like I need to turn it into a svn_string_t and
> then stream that string via a svn_stream_t?
>
> Thanks much,
> CY
Received on 2011-03-25 18:49:17 CET

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.