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

RE: chcp has no effect on output encoding for chcp

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 8 Sep 2015 09:23:33 +0200

> -----Original Message-----
> From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> Sent: maandag 7 september 2015 23:26
> To: Matthias Ludwig <matthias-ludwig_at_gmx.net>
> Cc: users_at_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
Received on 2015-09-08 09:23:55 CEST

This is an archived mail posted to the Subversion Users mailing list.