diff options
Diffstat (limited to 'git-svnimport.perl')
-rwxr-xr-x | git-svnimport.perl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/git-svnimport.perl b/git-svnimport.perl index cb241d1b51..6e3a44a2bc 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; |