You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Walter Klust <wa...@elego.de> on 2016/12/20 13:16:18 UTC

JavaHL question

I have a question regarding the current state of the JavaHL bindings on 1.9/trunk : Are the usecases "import, delete and 
commit items without working copy" supported ?

kind regards

Walter Klust

Re: JavaHL question

Posted by Daniel Shahaf <da...@apache.org>.
Walter Klust wrote on Tue, Dec 20, 2016 at 14:16:18 +0100:
> I have a question regarding the current state of the JavaHL bindings on
> 1.9/trunk : Are the usecases "import, delete and commit items without
> working copy" supported ?

I think this should be possible through ISVNRemote.getCommitEditor()
[1].  However, that interface returns an ISVNEditor, which is marked as
experimental.  (It wraps the experimental svn_editor_t, not the classic
/ stable svn_delta_editor_t.)

"Experimental" means the interface is not subject to the usual backwards
compatibility promises.

Cheers,

Daniel

[1] https://subversion.apache.org/docs/javahl/1.9/org/apache/subversion/javahl/ISVNRemote.html#getCommitEditor%28java.util.Map,%20org.apache.subversion.javahl.callback.CommitCallback,%20java.util.Set,%20boolean,%20org.apache.subversion.javahl.ISVNEditor.ProvideBaseCallback,%20org.apache.subversion.javahl.ISVNEditor.ProvidePropsCallback,%20org.apache.subversion.javahl.ISVNEditor.GetNodeKindCallback%29

> kind regards
> 
> Walter Klust
>