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

RE: API for creating file and revision

From: Bert Huijben <bert_at_qqmail.nl>
Date: Wed, 25 Nov 2015 13:30:44 +0100

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 want
to make the behavior explicit.

 

                Bert

 

From: Ren Wang [mailto:renwang101_at_gmail.com]
Sent: woensdag 25 november 2015 13:27
To: users_at_subversion.apache.org
Subject: API for creating file and revision

 

First of all, I would like to express my appreciation for the support from
the community in the past few days.

 

Here are some more another questions:

 

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
revision of it?

 

Regards,

 

Ren

 

 

 

 

 

 

 
Received on 2015-11-25 13:31:01 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.