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

Re: [TSVN] Blanks in PuTTY session names

From: Christoph Zwerschke <cito_at_online.de>
Date: 2005-07-18 23:09:57 CEST

Hallo Stefan,

>> In the "settings" dialog, I have set TortoisePlink.exe as ssh client.
>> In versions 1.1.x it was possible to access remote repositories with
>> an URL like that: "svn+ssh://my putty session/svnroot/repos/project".
>> Here, "my putty session" is a session saved in PuTTY with that name.
>> However, since version 1.2.x this does not work anymore. I found out
>> that the problem are the spaces in the name of the PuTTY session.
>> If I write myputtysession instead of "my putty session", it works.
>> Escaping the blanks as my%20putty%20session or my+putty+session does
>> not work either.
>
> Where did you enter that URL to your putty session?

For instance, I create a new working directory and make a SVN checkout.
A dialog pops up that asks for the URL of the project repository.
There, I enter "svn+ssh://my putty session/svnroot/repos/project".
A PuTTY Session with the name "my putty session" exists, but when I
click "OK", I get an alert box saying
"TortoisePlink:
Unable to open connection:
gethostbyname: unknown error"
When I enter the URL
"svn+ssh://my%20putty%20session/svnroot/repos/project"
it does not work either.

However, the funny thing is, when I rename the PuTTY session (in PuTTY!)
from "my putty session" to "my%20putty%20session",
then the above works (both versions of the URL!).

>> Is it possible to make blanks in the name of PuTTY sessions work
>> again? I think that's an unnecessary stumbling stone...
>
> I'm not aware of any changes which might affect this?

I'm not a (T)SVN developer and really don't know the code, but if I am
allowed to make an uneducated guess: I suspect it has something to do
with your change 2005-07-05 23:40:06-0700 in SVN/SVN.cpp.

-- Christoph

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jul 18 23:10:12 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.