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 <[email protected]> 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
