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

Re: svn:externals and spaces

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 19 Jul 2008 10:33:09 +0200

Sudrien wrote:
> I'm trying to set up some svn:externals to make up for some
> shortcomings in the original repository setup.
>
> So try to add a new property from the context menu...
>
> Property: "svn:externals"
> Value: "svn://xxx.xxx.xxx.xxx/Scripts/trunk/Base Scripts"
>
> TortoiseSVN complains it is not parsible. With some reading, I find
> the workaround is...
>
> Property: "svn:externals"
> Value: "svn://xxx.xxx.xxx.xxx/Scripts/trunk/Base%20Scripts"
>
> Would it be possible to have TortoiseSVN automate this string
> replacement? I realize the space should not be there in a repository
> with a good setup, but I'm dealing with other people's work here.

The svn:externals property is a Subversion property. It's format is
defined by the Subversion library. It requires that URLs are properly
escaped.

I really doubt that anyone adds/modifies those properties on a daily
basis, so having users do the escaping themselves should not be a big
problem - but it would be a big effort for TSVN to do it automatically
for you and get it right in all special cases.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-07-19 10:33:22 CEST

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