Re: Python & RA

2010-01-19 Thread Роман Донченко
On Mon, 2010-01-18 at 20:12 -0600, Daniel Eggert wrote: I've been trying to use python to use Subversion’s Remote Access library, but it crashes. #!/usr/bin/python import os import svn import svn.ra import svn.client import svn.core svn.ra.initialize() class Callbacks(svn.ra.Callbacks):

Re: Python & RA

2010-01-19 Thread Роман Донченко
(Sigh; resending to the list, as was initially intended.) Daniel Eggert писал в своём письме Tue, 19 Jan 2010 20:12:50 +0300: On Jan 19, 2010, at 7:25 , Роман Донченко wrote: On Mon, 2010-01-18 at 20:12 -0600, Daniel Eggert wrote: The config argument isn't passed to the C API correctl

Re: Python & RA

2010-01-20 Thread Роман Донченко
Daniel Eggert писал в своём письме Wed, 20 Jan 2010 19:54:40 +0300: I got svn.ra.open2() and svn.ra.get_dir() working, but I'm unable to make the receiver/baton part of l = svn.ra.get_log2(session, None, 1, 4, 0, False, False, [], receiver, None) work. The receiver is supposed to be a svn

Re: Where to get SWIG SVN python binding binaries?

2010-02-09 Thread Роман Донченко
Janosch Scharlipp писал в своём письме Tue, 09 Feb 2010 23:13:59 +0300: Hi, Where can i get recent SWIG SVN python binding binaries? I tried the most recent version from tigris.org (1.5.6 for py2.5) but it didn't work together with my repositories (created with svn 1.6.6). (error something

Re: Python & RA

2010-02-14 Thread Роман Донченко
Роман Донченко писал в своём письме Tue, 19 Jan 2010 21:08:04 +0300: Daniel Eggert писал в своём письме Tue, 19 Jan 2010 20:12:50 +0300: On Jan 19, 2010, at 7:25 , Роман Донченко wrote: On Mon, 2010-01-18 at 20:12 -0600, Daniel Eggert wrote: The config argument isn't passed to

Re: Question regarding the python binding

2010-03-25 Thread Роман Донченко
Tino Schwarze писал в своём письме Thu, 25 Mar 2010 17:17:42 +0300: Hi there, Back to python: I managed to use the Python bindings to get a value from the config file (I didn't want to reinvent the wheel) like this: *** from svn import repos, fs, delta, core, client def main(pool, repos_di

Re: Question regarding the python binding

2010-03-25 Thread Роман Донченко
Tino Schwarze писал в своём письме Thu, 25 Mar 2010 17:32:35 +0300: Additional question: I can't seem to find an equivalent of "svnlook cat" anywhere... I wanted to avoid calling external programs - commits are slow enough already... Thanks, Tino. You basically need to apply repos.open, t

Re: Question regarding the python binding

2010-03-26 Thread Роман Донченко
Tino Schwarze писал в своём письме Fri, 26 Mar 2010 12:27:27 +0300: Hi Роман, > Additional question: I can't seem to find an equivalent of "svnlook > cat" anywhere... I wanted to avoid calling external programs - commits > are slow enough already... You basically need to apply repos.open,