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

Re: svn+ssh with a # in the login

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2006-12-01 01:40:55 CET

Frédéric Bastien wrote:
> Hi,
>
> I have send this question to the user mailing list. Their suggestion
> didn't worked and I think the trouble is with the parsing of the
> svh+ssh... parameter. Here is my question.
>
> I have setup a svn server that I want to connect to by ssh. The trouble
> I have is svn do not parse correctly my login and server on the command
> line. My login have the symbol # in it and I can't change it. For
> example I do the command:
>
> svn import myfolder svn+ssh://first#second.org_at_second.org/repos -m
> 'initial import'
> I get the error
> ssh: first: Name or service not known
> svn: Connection closed unexpectedly
>
> the server is second.org
> the login is first#second.org
>
> svn try to connect to the server first and not second.org. The login is
> not well parsed. Do you know how I can access to the server? I can't use
> ssh forwarding, Apache module or change my login.
>
> thanks
>
> Frédéric
> p.s. I was suggested in the user mailing list to put the
> svn+ssh://first#second.org_at_second.org/repos in quote or to escape the #.

Indeed. And the correct escaped form of # is %23 so if you try that it
should work.

Max.

Received on Fri Dec 1 01:41:22 2006

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