[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] Using ssh-agent via svnClientAdapter and svn console client, including patch

From: Florian Voswinkel <florian.voswinkel_at_getit.de>
Date: Wed, 20 Aug 2008 18:02:24 +0200

Hi everyone,

it is not possible using JavaHL in my current project and I was sick of
entering my SSH-Key passphrase on and on. I saw, there is plenty of
operation system specific stuff in CommandLine.java for setting up the
environment, the SVN-Client is executed in.
So, I would like to see one more env var being transmitted for the unix

Below is my diff for CommandLine.java, Rev. 3041 (checked out today at
Rev. 3970). It works for me, I don't see why it should break anything.
Would be nice if this patch would make it into your code.

Thanks so far,

~$ diff CommandLine.java CommandLineNew.java
> final String sshAuthSock =
> if (sshAuthSock != null)
> i++;
> if (sshAuthSock != null) {
> env[i] = "SSH_AUTH_SOCK=" + sshAuthSock;
> i++;
> }

To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-08-20 18:03:45 CEST

This is an archived mail posted to the Subclipse Users mailing list.