diff options
author | Junio C Hamano <junkio@cox.net> | 2006-01-05 20:52:50 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-01-05 20:52:50 -0800 |
commit | 92e802c6ccb96d1b5e8561b0a136d43d82253293 (patch) | |
tree | 9b6c265d69d1dc8bcce36c86a44674cfb010a6d7 /git-svnimport.perl | |
parent | 17dff84b5e745ba17a5b3ae5591d79f96b165d48 (diff) | |
parent | c1fe2fe4fe685e0587c3949f953aab726de88994 (diff) | |
download | git-92e802c6ccb96d1b5e8561b0a136d43d82253293.tar.gz git-92e802c6ccb96d1b5e8561b0a136d43d82253293.tar.xz |
GIT 1.0.7v1.0.7
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 cb241d1b5..6e3a44a2b 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; |