Login | Register
My pages Projects Community openCollabNet

Discussions > dev > [PATCH] Passing on complete environment to command-line client

subclipse
Discussion topic

Back to topic list

[PATCH] Passing on complete environment to command-line client

Author Villu Ruusmann <villu dot ruusmann at webmedia dot ee>
Full name Villu Ruusmann <villu dot ruusmann at webmedia dot ee>
Date 2006-05-23 01:29:25 PDT
Message An issue has been identified concering the inability of command-line
client to resolve network addresses if executed with incomplete environment.

If the repository base url was specified as: "svn://localhost/.." the
following exception occurred:
org.tigris.subversio​n.svnclientadapter.S​VNClientException:
org.tigris.subversio​n.svnclientadapter.c​ommandline.CmdLineEx​ception:
svn: Unknown hostname 'localhost'

If the repository base url was specified as "svn://127.0.0.1/.." the
following exception occurred:
org.tigris.subversio​n.svnclientadapter.S​VNClientException:
org.tigris.subversio​n.svnclientadapter.c​ommandline.CmdLineEx​ception:
svn: Can't create socket: The requested service provider could not be
loaded or initialized.

The suggested workaround (included in patchfile
CompleteEnvironment.patch) is to execute svn.exe with the complete set
of environment variables.


OS:
CYGWIN_NT-5.1 xyz 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin

Java:
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)

Tested with SVN.exe's:
*) Cygwin: Subversion command-line client, version 1.2.3.
*) Windows: Subversion command-line client, version 1.3.0.
Attachments

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

[PATCH] Passing on complete environment to command-line client Villu Ruusmann <villu dot ruusmann at webmedia dot ee> Villu Ruusmann <villu dot ruusmann at webmedia dot ee> 2006-05-23 01:29:25 PDT
     RE: [Subclipse-dev] [PATCH] Passing on complete environment to command-line client letenay Martin Letenay 2006-05-31 01:50:21 PDT
Messages per page: