Re: API for creating file and revision

2015-11-25 Thread Philip Martin
"Ren Wang" writes: > The API svn_fs_make_file() will create an empty file, and the > svn_fs_apply_text() will fill the text content to the repository. Is there a > similar API for setting binary content? > > > > If the file already created in the repository, what's the API to create a > revisio

RE: API for creating file and revision

2015-11-25 Thread Bert Huijben
In this context we use the word 'text' for the body/content/whatever is in the file, so you don't have to use separate functions. On the fs and repos layers we don't handle binary and textual files in different ways. Where we do at the client level we usually use a few properties if we wan