[FIXED HUDSON-2698] In 1.265.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13649 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-12-16 18:26:58 +00:00
1 parent a2244d1272
commit d5ba02f174
1 file changed
+1 -1
@@ -1128,7 +1128,7 @@ public class SubversionSCM extends SCM implements Serializable {
// SVNKit wants a key in a file
final File keyFile;
FileItem item=null;
if(kind.equals("password")) {
if(idx <= 1) {
keyFile = null;
} else {
item = parser.getFileItem(kind.equals("publickey")?"privateKey":"certificate");