> -----Original Message-----
> From: Daniel Shahaf [mailto:d...@daniel.shahaf.name]
> Sent: maandag 7 september 2015 23:26
> To: Matthias Ludwig <matthias-lud...@gmx.net>
> Cc: users@subversion.apache.org
> Subject: 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)
>     0L
> 
> (The repository was empty, i.e., zero revisions.)

You could also look at the SharpSvn library (.Net on Windows). This library
has a higher level SvnLookClient class which has mostly the same functions
as 'svnlook'.

You can find some examples on StackOverflow via
http://stackoverflow.com/search?q=SvnLookClient

        Bert

Reply via email to