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

How to use SVN::Client with authenticated proxy?

From: Josef Wolf <jw_at_raven.inka.de>
Date: Fri, 6 Mar 2009 17:23:34 +0100


I am about to write a perl script to manage a subversion working copy
with SVN::Client module. It seems to be easier than I thought. Here's
my first attempt (mostly copied from the man page):

  #! /usr/bin/perl
  use strict;
  use warnings;
  use SVN::Client;
  my $ctx = new SVN::Client(
      auth => [SVN::Client::get_simple_provider(),
  $ctx->checkout ('https://some.host/repos/trunk', '/var/tmp/repostest',
                  'HEAD', 1);
  sub simple_prompt {
      my $cred = shift;
      my $realm = shift;
      my $default_username = shift;
      my $may_save = shift;
      my $pool = shift;

But now I got somewhat stuck: how do I configure the proxy that
SVN::Client should use? And how would I configure the credentials
for the proxy? Any hints?
Received on 2009-03-06 17:31:54 CET

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

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