From 4fbe7fccee3c57ff2e3073250b61cb17df3205ca Mon Sep 17 00:00:00 2001 From: kohsuke Date: Sun, 13 May 2007 05:11:30 +0000 Subject: [PATCH] updated to a newer version of svnkit to pick up a fix for #530 "Special characters are triple-escaped on changes view" git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3307 71c3de6d-444a-0410-be80-ed276b4c234a --- core/pom.xml | 2 +- core/src/main/java/hudson/scm/SubversionSCM.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index 03d5c10336..d97b255d6c 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -109,7 +109,7 @@ org.tmatesoft svnkit - 1.1.2-hudson-2 + 1.1.2-hudson-3 ${groupId} diff --git a/core/src/main/java/hudson/scm/SubversionSCM.java b/core/src/main/java/hudson/scm/SubversionSCM.java index 473956d8af..8c3cecee9d 100644 --- a/core/src/main/java/hudson/scm/SubversionSCM.java +++ b/core/src/main/java/hudson/scm/SubversionSCM.java @@ -620,7 +620,7 @@ public class SubversionSCM extends SCM implements Serializable { } else { privateKey = FileUtils.readFileToString(getKeyFile(),"iso-8859-1"); } - return new SVNSSHAuthentication(userName, privateKey, Scrambler.descramble(passphrase),-1,false); + return new SVNSSHAuthentication(userName, privateKey.toCharArray(), Scrambler.descramble(passphrase),-1,false); } catch (IOException e) { throw new SVNException(SVNErrorMessage.create(SVNErrorCode.AUTHN_CREDS_UNAVAILABLE,"Unable to load private key"),e); } catch (InterruptedException e) {