X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-svnimport.perl;h=6e3a44a2bc9fbf170db45a7e390d6ac8ffbb6f02;hb=c8568e139ed2149fbfb7ef9a8d819d5b6b7c554f;hp=cb241d1b5174fad6b6eb081635e614d251688f0d;hpb=988eece42aa4c1c6b7c4cdfd102748c19acba7ed;p=git.git diff --git a/git-svnimport.perl b/git-svnimport.perl index cb241d1b..6e3a44a2 100755 --- a/git-svnimport.perl +++ b/git-svnimport.perl @@ -96,8 +96,10 @@ sub new { sub conn { my $self = shift; my $repo = $self->{'fullrep'}; - my $s = SVN::Ra->new($repo); - + my $auth = SVN::Core::auth_open ([SVN::Client::get_simple_provider, + SVN::Client::get_ssl_server_trust_file_provider, + SVN::Client::get_username_provider]); + my $s = SVN::Ra->new(url => $repo, auth => $auth); die "SVN connection to $repo: $!\n" unless defined $s; $self->{'svn'} = $s; $self->{'repo'} = $repo;