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

Re: URLs with spaces bug

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 10 Apr 2009 19:08:49 +0200

Alexander Bessonov wrote:
> I'm sorry I've posted multiple entries.
>
> It does not work with "file://server/..." as well.
>
> I always get "unable to open ra_local session to URL. Unable to open repository 'file://server/SVNRep/Directory%20with%20spaces/Project/trunk"
>
> It seems it escapes a URL and then tries to open a file on remote server and cannot locate is because of escaping.

That means the repository db is *after* the "Directory with spaces".
That won't work (and I doubt it worked in earlier versions either) since
as you have noticed urls must be escaped, but local paths must not.
Since SVN can not know what part of your file:// url is for local paths
and which part is inside the repository (i.e., the 'real' url part),
this won't work - at least everywhere svn can not know what the
repository root url is (e.g., as you've noticed: repository browser,
checkout dialog, - basically all operations not done on a working copy).

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1633311
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-04-10 19:09:19 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.