{"thread":{"id":"2950","subject":"[PATCH] svnimport: support repositories requiring SSL authentication","startedAt":"2006-01-01T21:25:47Z","lastAt":"2006-01-01T21:25:47Z","messageCount":1,"participants":["Eric Wong"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"14119","messageId":"20060101212546.GI3963@mail.yhbt.net","threadId":"2950","inReplyTo":null,"subject":"[PATCH] svnimport: support repositories requiring SSL authentication","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-01-01T21:25:47Z","receivedAt":"2006-01-01T21:25:47Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"I looked at svn-mirror to see how it did this, seems about right.\n\"It works for me\" when using it against https://svn.musicpd.org\n\ntested command-line: git-svnimport -C mpc -i -m -v  \\\n\t-T mpc/trunk -b mpc/branches -t mpc/tags https://svn.musicpd.org\n\nSigned-off-by: Eric Wong <normalperson@yhbt.net>\n\n---\n\n git-svnimport.perl |    6 ++++--\n 1 files changed, 4 insertions(+), 2 deletions(-)\n\n926c84c0c96e43ca0341b541ed23e0f3874b8171\ndiff --git a/git-svnimport.perl b/git-svnimport.perl\nindex cb241d1..6e3a44a 100755\n--- a/git-svnimport.perl\n+++ b/git-svnimport.perl\n@@ -96,8 +96,10 @@ sub new {\n sub conn {\n \tmy $self = shift;\n \tmy $repo = $self->{'fullrep'};\n-\tmy $s = SVN::Ra->new($repo);\n-\n+\tmy $auth = SVN::Core::auth_open ([SVN::Client::get_simple_provider,\n+\t\t\t  SVN::Client::get_ssl_server_trust_file_provider,\n+\t\t\t  SVN::Client::get_username_provider]);\n+\tmy $s = SVN::Ra->new(url => $repo, auth => $auth);\n \tdie \"SVN connection to $repo: $!\\n\" unless defined $s;\n \t$self->{'svn'} = $s;\n \t$self->{'repo'} = $repo;\n-- \n1.0.GIT\n"}]}