On 08.09.2015 14:00, Matthias Ludwig wrote:
> Thank you for the tip, I will check this.
> I did not find any method in javahl. Did I missed it?
No; JavaHL does not have bindings for the svn_fs API. It does have
bindings that emulate svnadmin, but not svnlook.
> Could I write the JNDI-Binding myself?
(I guess you mean JNI). You could, of course. You can start by looking at
and adding methods that expose svnlook features. If you do, please send
patches to our dev@ list, we'd surely want to include these features.
Be aware that the JavaHL implementation is not the cleanest or most
obvious code, though ...
> Or do I have to use phyton?
You can use Python or Perl or Ruby, or of course C, or just call svnlook
> -----Ursprüngliche Nachricht-----
> Von: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> Gesendet: Montag, 7. September 2015 23:26
> An: Matthias Ludwig <matthias-ludwig_at_gmx.net>
> Cc: users_at_subversion.apache.org
> Betreff: Re: chcp has no effect on output encoding for chcp
> Matthias Ludwig wrote on Mon, Sep 07, 2015 at 11:45:13 +0200:
>> The use of the subversion language bindings is no alternative because
>> there exists no language bindings for svnlook.
> svnlook just wraps the svn_fs/svn_repos APIs, which do have bindings:
> % python2
> >>> from svn.fs import *
> >>> from svn.repos import *
> >>> fs = svn_repos_fs(svn_repos_open("/tmp/r"))
> >>> svn_fs_youngest_rev(fs)
> (The repository was empty, i.e., zero revisions.)
Received on 2015-09-08 14:17:16 CEST