[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-08-18 18:21:13 CEST

Simon Large wrote:
> Stefan Küng wrote:
>
>> 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.
>
>
> This also came up recently (5/8/2005) with the relocate command.
>
> In both cases we could improve matters by doing a conditional escape of
> the URL before using it (before relocate, or before setting svn:externals)
>
> Two alternatives:
>
> 1. Escape the URL *unless* it already contains '%'.
> 2. Escape the URL if it contains an illegal char *except* '%'.

We already do exactly that in various other places. But for externals,
you must know the URL you're pointing to anyway (and we would have to
parse the entered string first to find the URL, and doing that in the
shell extension without the MFC classes...)
And for the relocate command: we do it there already.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.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:16 2005

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