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

Re: Failed attempt to get log messages using the Perl bindings.

From: Ben Reser <ben_at_reser.org>
Date: 2004-02-16 07:41:01 CET

On Wed, Feb 11, 2004 at 08:52:07AM +0000, Martin Tomes wrote:
> I got no response from the users list so I'm trying the dev list,
> apologies to those subscribed to both.
> I have 0.37.0 installed with the Python and Perl bindings. viewcvs
> works with subversion. I am using Apache 2 as the server. Today I
> tried to use the Perl bindings to get at the repository content, I got
> SVN::Client to log in and give me the content of a file but I cannot get
> the log. Whenever I run the Perl program Apache starts using loads of
> CPU and I get nothing back. I have to shut down Apache, do a recover
> and start it up again. This is all running on RedHat 8.0 on a Dell dual
> processor server.
> This is my program, I changed it to use Ra, but I get the same result
> using the log method on SVN::Client:
> #!/usr/bin/perl
> use strict;
> use SVN::Ra;
> my $repo = 'http://syrah.controls.eurotherm.co.uk:81/repos/controls/';
> my $r = new SVN::Ra(
> url => $repo,
> auth => [SVN::Client::get_simple_provider(),
> SVN::Client::get_simple_prompt_provider(\&simple_prompt, 2),
> SVN::Client::get_username_provider()]
> );

Actually that's SVN::Ra and is harder to use in most cases. In this
case it's pretty much identical.

Ben Reser <ben@reser.org>
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 16 07:41:20 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.