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

Re: [TSVN] can't set svn:externals property to reference a directorywith a space

From: Martin Tomes <lists_at_tomes.org>
Date: 2005-08-18 18:22:43 CEST

Simon Large wrote:
> Peter McNab wrote:
>> Stefan Küng wrote:
>>> Charles Doucette wrote:
>>>> Obviously, the problem is that the directory which I added to my
>>>> repository and that I'm trying to reference
>>>> via svn:externals contains a space. When I renamed my directory in
>>>> the repository to change the space
>>>> into an underscore (and then made the corresponding change to the
>>>> value of the svn:externals property),
>>>> everything worked fine.
>>>
>>> URLs in the svn:externals property *must* be properly URI encoded. So
>>> instead of a space, you have to write %20. Then it will work.
>>>
>> Could one use quotes around the filename?
>
> That won't help. This is a URL, not a filename, and spaces (and various
> other characters) must be escaped in URLs. In many cases TSVN does that
> for you automatically, so you don't often see it.

If TortoiseSVN used a separate dialog for setting up externals (which
would be a good idea anyway) then the URLs could be escaped on entry and
unescaped for viewing. A buttons for selecting URLs using the
repository browser could be there and I am sure there is scope for more
helpful features.

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
Visit http://www.subversionary.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Aug 18 18:26:57 2005

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

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